View source: R/getOPUDataFromDATIM.R
getOPUDataFromDATIM | R Documentation |
Pulls data from DATIM API needed to pack OPU Data Pack.
getOPUDataFromDATIM(
cop_year,
country_uids = NULL,
d2_session = dynGet("d2_default_session", inherits = TRUE)
)
cop_year |
COP Year to use for tailoring functions. Remember, FY22 targets = COP21. |
country_uids |
Unique IDs for countries to include in the Data Pack.
For full list of these IDs, see |
d2_session |
DHIS2 Session id. R6 datimutils object which handles authentication with DATIM. |
Returns dataset needed for use in packOPUDataPack
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.