adorn_import_file | R Documentation |
Convert a 'PSNU-level' DATIM import file into an analytics-friendly object, similar to the MER Structured Datasets
adorn_import_file(
psnu_import_file,
cop_year = NULL,
psnu_prioritizations = NULL,
map_des_cocs = NULL,
filter_rename_output = TRUE,
d2_session = dynGet("d2_default_session", inherits = TRUE),
include_default = FALSE
)
psnu_import_file |
DHIS2 import file to convert |
cop_year |
COP Year to use for tailoring functions. Remember, FY22 targets = COP21. |
psnu_prioritizations |
List of orgUnit, value containing prioritization values for each PSNU. |
map_des_cocs |
Can be used to supply a specific data element/COC map. If not specified, results will be obtained from default methods. |
filter_rename_output |
Should this function output the final data in the new, more complete format? |
d2_session |
DHIS2 Session id. R6 datimutils object which handles authentication with DATIM. |
include_default |
Should default mechanisms be included? |
psnu_import_file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.