View source: R/create_play_spectrum_output.R
create_play_spectrum_output | R Documentation |
Creates a fake Spectrum Data Pack export for use in testing with Data Packs. Requires login to DATIM.
create_play_spectrum_output(
country_uids,
cop_year,
output_folder = NULL,
d2_session = dynGet("d2_default_session", inherits = TRUE)
)
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. |
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. |
Fake Spectrum dataset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.