writePSNUxIM | R Documentation |
Checks a Data Pack for need of new or appended PSNUxIM data, then writes this into the Data Pack supplied. unPackTool must be run as prerequisite.
writePSNUxIM(
d,
snuxim_model_data_path = NULL,
output_folder = NULL,
d2_session = dynGet("d2_default_session", inherits = TRUE),
append = TRUE,
use_template = FALSE
)
d |
Datapackr sidecar object |
snuxim_model_data_path |
Export from DATIM needed to allocate data across mechanisms in the PSNUxIM tab |
output_folder |
Local folder where you would like your Data Pack to be saved upon export. |
d2_session |
DHIS2 Session id. R6 datimutils object which handles authentication with DATIM. |
append |
If TRUE append rows to the existing DataPack otherwise, output a Missing PSNUxIM targets workbook. |
use_template |
If TRUE, use a template to create the object, otherwise use the existing workbook object which is part of the main d object. |
d
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.