specio
handles reading and parsing data from Spectrum PJNZ file into an R consumable format for use in the Estimation and Projection Package (EPP) for estimating and projecting HIV prevalence.
As well as the functions required for EPP specio
also provides 2 more general functions for extracting population data and PLHIV data from the PJNZ file. These are extract_population
and extract_hiv_population
. See website reference for usage and examples.
# install.packages("devtools")
devtools::install_github("mrc-ide/specio")