Information for downloading, cleaning and processing COVID-19 region level 1 and 2 data for Belgium.
covidregionaldata::DataClass
-> Belgium
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.
ISO 3166-2 codes are used for both region and province levels in
Belgium, and for provinces these are marked as being
iso_3166_2_province
common_data_urls
List of named links to raw data that are common across levels.
level_data_urls
List of named links to raw data specific to each level of regions. For Belgium, there are only additional data for level 1 regions.
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
Belgium$set_region_codes()
download()
Downloads data from source and (for Belgium) applies an initial data patch.
Belgium$download()
clean_level_1()
Region-level Data Cleaning
Belgium$clean_level_1()
clean_level_2()
Province-level Data Cleaning
Belgium$clean_level_2()
clone()
The objects of this class are cloneable with this method.
Belgium$clone(deep = FALSE)
deep
Whether to make a deep clone.
Subnational data sources
Brazil
,
Canada
,
Colombia
,
Covid19DataHub
,
Cuba
,
Estonia
,
France
,
Germany
,
Google
,
India
,
Italy
,
JHU
,
Lithuania
,
Mexico
,
Netherlands
,
SouthAfrica
,
Switzerland
,
UK
,
USA
# NOT RUN {
region <- Belgium$new(verbose = TRUE, steps = TRUE, get = TRUE, level = "2")
region$return()
# }
Run the code above in your browser using DataLab