
Initialize the KPI analysis pipeline
init_kpi.RdUsage
init_kpi(path = getwd(), name = NULL, edav = TRUE)Arguments
- path
strPath to the folder containing the KPI analysis folders. Defaults to current working directory.- name
strName of the KPI analysis folder. If not given any names, the folder will be named the date the function is ran.- edav
logicalWhether to use EDAV to load the global polio data. Defaults toTRUE. Lab data are always loaded from EDAV.
Details
Pre-cleaned lab data are downloaded from CLEANED_LAB_DATA on EDAV
on every run, independently of edav. Previous lab caches are not used.
A local snapshot is saved in the analysis data folder. The generated template
adds rolling-year fields without calling clean_lab_data().