Get ART population data separated by year, sex and age. Final age is open ended age group 80+.

read_art_pop(pjnz_path, long_format = FALSE)

Arguments

pjnz_path

Path to PJNZ file to extract the data from.

long_format

If TRUE then data is returned in long format.

Value

3D array of ART population data separated by year, sex and age.

Examples

pjnz_path <- system.file("testdata", "Botswana2017.PJNZ", package = "specio") art_population <- read_art_pop(pjnz_path) art_pop_long <- read_art_pop(pjnz_path, TRUE)