Description Usage Arguments Author(s)
View source: R/merge_M_and_E.R
Merge country monitoring and evaluation excel tool data (key performance indicators)
1 2 3 4 5 6 7 8 9 10 11 12 | merge_kpi(
inputdirectory,
isotomerge = "AFRO",
outputdirectory = tempdir(),
outputname = "kpi_merged_",
wide = TRUE,
clean = TRUE,
variabledict = system.file("extdata", "mne_dictionary.xlsx", package =
"covidmonitor"),
cleaningdict = system.file("inst", "cleaning_dictionary.xlsx", package =
"covidmonitor")
)
|
inputdirectory |
path to folder containing excel tool datasets |
isotomerge |
3 letter ISO-code for country of interest, in quotation marks, combine multiple countries with c(...), default is "AFRO" to read in all available. |
outputdirectory |
path to folder where merged file is to be saved (must exist already) |
outputname |
character string to name merged file |
wide |
logical (TRUE/FALSE) of whether the output data frame should be in wide format (default), else will produce long format data |
clean |
logical (TRUE/FALSE) of whether to clean the output data frame |
variabledict |
path to dictionary file containing variable definitions. Default is a predefined within the package. For details of how to use your own file see README |
cleaningdict |
path to dictionary file containing cleaning rule definitions for country names. Default is a predefined within the package. For details of how to use your own file see README |
Alice Carr, Alex Spina
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.