France: France Class containing origin specific attributes and...

Description Super class Public fields Methods Source See Also Examples

Description

Information for downloading, cleaning and processing COVID-19 region data for France.

Super class

covidregionaldata::DataClass -> France

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.

level_data_urls

List of named links to raw data that are level specific.

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
France$set_region_codes()

Method clean_level_1()

Region Level Data Cleaning

Usage
France$clean_level_1()

Method clean_level_2()

Department Level Data Cleaning

Usage
France$clean_level_2()

Method clone()

The objects of this class are cloneable with this method.

Usage
France$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Source

https://www.data.gouv.fr/fr/datasets/r/406c6a23-e283-4300-9484-54e78c8ae675

https://www.data.gouv.fr/fr/datasets/r/6fadff46-9efd-4c53-942a-54aca783c30c

https://www.data.gouv.fr/fr/datasets/r/001aca18-df6a-45c8-89e6-f82d689e6c01

See Also

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

Examples

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

## End(Not run)

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