View source: R/createDataPack.R
createDataPack | R Documentation |
Creates a brand new Data Pack with the supplied characteristics.
createDataPack(
datapack_name = NULL,
country_uids,
template_path = NULL,
cop_year = NULL,
tool = NULL,
d2_session = dynGet("d2_default_session", inherits = TRUE)
)
datapack_name |
Name you would like associated with this Data Pack. (Example: "Western Hemisphere", or "Caribbean Region", or "Kenya".) |
country_uids |
Unique IDs for countries to include in the Data Pack.
For full list of these IDs, see |
template_path |
Local filepath to Data Pack template Excel (XLSX) file.
This file MUST NOT have any data validation formats present. If left
|
cop_year |
COP Year to use for tailoring functions. Remember, FY22 targets = COP21. |
tool |
Type of tool this function will create or interact with. Either
|
d2_session |
DHIS2 Session id. R6 datimutils object which handles authentication with DATIM. |
Data Pack object
Scott Jackson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.