Class for downloading, cleaning and processing COVID-19 sub-regional data for the Netherlands, provided by RVIM (English: National Institute for Public Health and the Environment). This data contains number of newly reported cases (that have tested positive), number of newly reported hospital admissions and number of newly reported deaths going back to 27/02/2020. Data is provided at both the province and municipality level.
covidregionaldata::DataClass
-> Netherlands
origin
name of origin to fetch data for
supported_levels
A list of supported levels.
supported_region_names
A list of region names in order of level.
supported_region_codes
A list of region codes in order of level.
common_data_urls
List of named links to raw data. The first, and only entry, is be named main.
source_data_cols
existing columns within the raw data
source_text
Plain text description of the source of the data
source_url
Website address for explanation/introduction of the data
set_region_codes()
Set up a table of region codes for clean data
Netherlands$set_region_codes()
clean_common()
Common cleaning steps to be applied to raw data, regardless of level (province or municipality) for raw Netherlands data.
Netherlands$clean_common()
clean_level_1()
Netherlands specific province level data cleaning. Takes
the data cleaned by clean_common
and aggregates it to the Province
level (level 1).
Netherlands$clean_level_1()
clone()
The objects of this class are cloneable with this method.
Netherlands$clone(deep = FALSE)
deep
Whether to make a deep clone.
Subnational data sources
Belgium
,
Brazil
,
Canada
,
Colombia
,
Covid19DataHub
,
Cuba
,
Estonia
,
France
,
Germany
,
Google
,
India
,
Italy
,
JHU
,
Lithuania
,
Mexico
,
SouthAfrica
,
Switzerland
,
UK
,
USA
# NOT RUN {
region <- Netherlands$new(verbose = TRUE, steps = TRUE, get = TRUE)
region$return()
# }
Run the code above in your browser using DataLab