Information for downloading, cleaning and processing COVID-19 region data from the World Health Organisation
covidregionaldata::DataClass -> covidregionaldata::CountryDataClass -> WHO
originname of origin to fetch data for
supported_levelsA list of supported levels.
supported_region_namesA list of region names in order of level.
supported_region_codesA list of region codes in order of level.
common_data_urlsList of named links to raw data. The first, and only entry, is be named main.
source_data_colsexisting columns within the raw data
source_textPlain text description of the source of the data
source_urlWebsite address for explanation/introduction of the data
clean_common()WHO specific data cleaning
WHO$clean_common()
return()Specific return settings for the WHO dataset.
WHO$return()
specific_tests()Run additional tests on WHO data. Tests that there is only
one row per country. Designed to be ran from test and not ran directly.
WHO$specific_tests(self_copy, ...)
self_copyR6class the object to test
...Extra params passed to specific download functions
clone()The objects of this class are cloneable with this method.
WHO$clone(deep = FALSE)
deepWhether to make a deep clone.
National data sources
Covid19DataHub,
ECDC,
Google,
JHU,
JRC
# NOT RUN {
national <- WHO$new(verbose = TRUE, steps = TRUE, get = TRUE)
national$return()
# }
Run the code above in your browser using DataLab