Learn R Programming

covidregionaldata (version 0.9.3)

Canada: Canada Class containing origin specific attributes and methods

Description

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

Arguments

Super class

covidregionaldata::DataClass -> Canada

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 that are common across levels.

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

Method set_region_codes()

Set up a table of region codes for clean data

Usage

Canada$set_region_codes()

Method clean_common()

Provincial Level Data cleaning

Usage

Canada$clean_common()

Arguments

...

pass additional arguments

Method clone()

The objects of this class are cloneable with this method.

Usage

Canada$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

See Also

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

Examples

Run this code
# NOT RUN {
region <- Canada$new(verbose = TRUE, steps = TRUE, get = TRUE)
region$return()
# }

Run the code above in your browser using DataLab