unPackTool | R Documentation |
Processes a submitted Data Pack by identifying integrity issues, checking data against DATIM validations, and extracting data.
unPackTool(
submission_path = NULL,
tool = NULL,
country_uids = NULL,
cop_year = NULL,
pzns = NULL,
mer_data = NULL,
d2_session = dynGet("d2_default_session", inherits = TRUE)
)
submission_path |
Local path to the file to import. |
tool |
Type of tool this function will create or interact with. Either
|
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. |
pzns |
A object containing prioiritization information by organisation unit to be added to the DataPack object. |
mer_data |
If prior MER data (for instance from DATIM), is passed to this parameter, it will be used. Otherwise, data from the existing set of tools will be used. |
d2_session |
DHIS2 Session id. R6 datimutils object which handles authentication with DATIM. |
Executes the following operations in relation to a submitted tool
Performs integrity checks on file structure;
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.