Description Super classes Public fields Methods Source See Also Examples
Class for downloading, cleaning and processing COVID-19 region data from the European Commission's Joint Research Centre. Subnational data (admin level 1) on numbers of contagious and fatalities by COVID-19, collected directly from the National Authoritative sources (National monitoring websites, when available). For more details see https://github.com/ec-jrc/COVID-19
covidregionaldata::DataClass -> covidregionaldata::CountryDataClass -> JRC
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.
level_data_urlsList of named links to raw data.
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()JRC specific data cleaning. The raw source data columns are converted to the correct type and renamed appropriately to match the standard for general processing.
JRC$clean_common()
clean_level_1()JRC specific country level data cleaning. Selects country level (level 1) columns from the data ready for further processing.
JRC$clean_level_1()
clean_level_2()JRC specific region level data cleaning. Selects country (level 1) and region (level 2) columns from the data ready for further processing.
JRC$clean_level_2()
clone()The objects of this class are cloneable with this method.
JRC$clone(deep = FALSE)
deepWhether to make a deep clone.
https://github.com/ec-jrc/COVID-19
National data sources
Covid19DataHub,
ECDC,
Google,
JHU,
WHO
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  | ## Not run: 
# get country level data
jrc_level_1 <- JRC$new(level = "1", verbose = TRUE, steps = TRUE, get = TRUE)
jrc_level_1$return()
# show available regions with data at the first level of interest (country)
jrc_level_1$available_regions()
# get region level data
jrc_level_2 <- JRC$new(level = "2", verbose = TRUE, steps = TRUE, get = TRUE)
jrc_level_2$return()
# show available regions with data at the second level of interest (region)
jrc_level_2$available_regions()
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.