Skip to contents

Information for downloading, cleaning and processing COVID-19 region data from the World Health Organisation

See also

National data sources Covid19DataHub, ECDC, Google, JHU, JRC

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 clean_common()

WHO specific data cleaning

Usage

WHO$clean_common()


Method return()

Specific return settings for the WHO dataset.

Usage

WHO$return()


Method specific_tests()

Run additional tests on WHO data. Tests that there is only one row per country. Designed to be ran from test and not ran directly.

Usage

WHO$specific_tests(self_copy, ...)

Arguments

self_copy

R6class the object to test

...

Extra params passed to specific download functions


Method clone()

The objects of this class are cloneable with this method.

Usage

WHO$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

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