Germany: Germany Class for downloading, cleaning and processing...

Description Super class Public fields Methods Source See Also Examples

Description

Information for downloading, cleaning and processing COVID-19 region level 1 and 2 data for Germany.

Super class

covidregionaldata::DataClass -> Germany

Public fields

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

Methods

Public methods

Inherited methods

Method set_region_codes()

Set up a table of region codes for clean data

Usage
Germany$set_region_codes()

Method clean_common()

Common Data Cleaning

Usage
Germany$clean_common()

Method clean_level_1()

Bundesland Level Data Cleaning

Usage
Germany$clean_level_1()

Method clean_level_2()

Landkreis Level Data Cleaning

Usage
Germany$clean_level_2()

Method clone()

The objects of this class are cloneable with this method.

Usage
Germany$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Source

https://opendata.arcgis.com/datasets/dd4580c810204019a7b8eb3e0b329dd6_0.csv

See Also

Subnational data sources Belgium, Brazil, Canada, Colombia, Covid19DataHub, Cuba, Estonia, France, Google, India, Italy, JHU, Lithuania, Mexico, Netherlands, SouthAfrica, Switzerland, UK, USA

Examples

1
2
3
4
5
## Not run: 
region <- Germany$new(verbose = TRUE, steps = TRUE, level = "2", get = TRUE)
region$return()

## End(Not run)

covidregionaldata documentation built on Feb. 7, 2022, 9:07 a.m.