View source: R/unPackOPUDataPack.R
unPackOPUDataPack | R Documentation |
Processes a submitted OPU Data Pack (in .xlsx format) by identifying integrity issues, checking data against DATIM validations, and extracting data.
unPackOPUDataPack(
d,
pzns = NULL,
mer_data = NULL,
d2_session = dynGet("d2_default_session", inherits = TRUE)
)
d |
Datapackr sidecar object |
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. |
Once this function is called, it will present a dialog box where you can select the file location of the Data Pack to be processed.
If Operating Unit name
and id
in the Data Pack's Home
tab do not match based on cross-reference with DATIM organization
hierarchies, you will be prompted to manually select the correct Operating
Unit associated with the Data Pack to be processed. Enter this information in
the Console as directed.
The final message in the Console prints all warnings identified in the Data Pack being processed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.