View source: R/getCOPDataFromDATIM.R
getCOPDataFromDATIM | R Documentation |
Grab all raw data in DATIM for a country for the COP data sets for a given COP Year.
getCOPDataFromDATIM(
country_uids,
cop_year,
datastreams = c("mer_targets", "subnat_targets", "impatt"),
d2_session = dynGet("d2_default_session", inherits = TRUE)
)
country_uids |
Unique IDs for countries to include in the Data Pack.
For full list of these IDs, see |
cop_year |
COP Year to use for tailoring functions. Remember, FY22 targets = COP21. |
datastreams |
Data stream or streams. One or more of |
d2_session |
DHIS2 Session id. R6 datimutils object which handles authentication with DATIM. |
Raw data in DATIM for a country for the COP data sets for a given COP Year.
## Not run: getCOPDataFromDATIM(country_uid = d$info$country_uids, cop_year = d$info$cop_year)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.