getCodeList | R Documentation |
Pulls all code lists for MER, SUBNAT, and IMPATT for a specified COP year and combines these into a unique list.
getCodeList(
cop_year = NULL,
datastreams = c("mer_targets", "mer_results", "subnat_targets", "subnat_results",
"impatt"),
datasets = NULL,
d2_session = dynGet("d2_default_session", inherits = TRUE)
)
cop_year |
COP Year to use for tailoring functions. Remember, FY22 targets = COP21. |
datastreams |
Data stream or streams. One or more of |
datasets |
Character vector of dataSet IDs to pull code lists for. |
d2_session |
DHIS2 Session id. R6 datimutils object which handles authentication with DATIM. |
Combined code list as dataframe.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.