read_epp_data: Read EPP fitting surveillance data

Description Usage Arguments Details Value Examples

View source: R/read_xml.R

Description

Reads the HIV prevalence from sentinel surveillance and household surveillance data from the EPP .xml file within a PJNZ.

Usage

1
read_epp_data(pjnz_path)

Arguments

pjnz_path

Path to Spectrum PJNZ file.

Details

EPP projection sets are identified in the .xml file by searching the XML tree for tag "object", and then selecting objects with "class" attribute equal to "epp2011.core.sets.ProjectionSet".

Value

List of data frames containing prevalence and incidence data.

Examples

1
2
pjnz_path <- system.file("testdata", "Botswana2018.PJNZ", package = "specio")
read_epp_data(pjnz_path)

mrc-ide/specio documentation built on April 15, 2021, 8:37 a.m.