Skip to contents

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.

Super class

covidregionaldata::DataClass -> Netherlands

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

Inherited methods


Method set_region_codes()

Set up a table of region codes for clean data

Usage

Netherlands$set_region_codes()


Method clean_common()

Common cleaning steps to be applied to raw data, regardless of level (province or municipality) for raw Netherlands data.

Usage

Netherlands$clean_common()


Method 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).

Usage

Netherlands$clean_level_1()


Method clone()

The objects of this class are cloneable with this method.

Usage

Netherlands$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

if (FALSE) {
region <- Netherlands$new(verbose = TRUE, steps = TRUE, get = TRUE)
region$return()
}