Calculates vaccine coverage by either residence or occurrence at a specified geographic level, for a set of years and vaccines.
Usage
roc_coverage_by(
coverage_type,
data.EIR,
data.schedule,
data.pop,
geo_level,
years = NULL,
vaccines = NULL
)Arguments
- coverage_type
A character string specifying the type of analysis: either "residence" or "occurrence".
- data.EIR
A data frame containing individual vaccination records. See
pahoabc.EIRfor expected structure.- data.schedule
A data frame defining the vaccination schedule. See
pahoabc.schedulefor expected structure.- data.pop
A data frame with population denominators. See
pahoabc.pop.ADMXfor structure examples.- geo_level
The geographic level to aggregate results by. Must be "ADM0", "ADM1" or "ADM2".
data.popmust contain the columns to match.- years
Numeric (optional). The years for which the coverage calculation is done. If
NULL(default), all vaccination years indata.EIRare included.- vaccines
Character (optional). A character vector specifying the doses to include in the analysis. If
NULL(default), all vaccines indata.EIRare included.
