dp.inputs.art.by.age: Get Spectrum ART by age inputs

View source: R/extract-dp.R

dp.inputs.art.by.ageR Documentation

Get Spectrum ART by age inputs

Description

Get input numbers of people on ART entered into Spectrum by sex, age and year in long or wide format. These data may be entered by five-year age group, or in age groups specified for UNAIDS Global AIDS Monitoring. The latter stratifies ages 25+ into two age groups, 25-49 and 50+.

Usage

dp.inputs.art.by.age(
  dp.raw,
  direction = "wide",
  first.year = NULL,
  final.year = NULL
)

Arguments

dp.raw

DemProj module data in raw format, as returned by read.raw.dp()

direction

Request "wide" (default) or "long" format data.

first.year

First year of the projection. If first.year=NULL, it will be filled in using dp.inputs.first.year()

final.year

Final year of the projection. If final.year=NULL, it will be filled in using dp.inputs.final.year()

Value

A data frame.


rlglaubius/SpectrumUtils documentation built on Jan. 30, 2025, 3:25 a.m.