Meixco Class for downloading, cleaning and processing notification data
Source:R/Mexico.R
Mexico.Rd
Information for downloading, cleaning and processing COVID-19 region data for Mexico.
Notes on region codes:
Level 1 codes = ISO-3166-2, source: https://en.wikipedia.org/wiki/ISO_3166-2:MX
Level 2 codes = INEGI Mexican official statistics geocoding, source: raw data
Level 1 INEGI codes are the first 2 characters of Level 2 INEGI codes
See also
Subnational data sources
Belgium
,
Brazil
,
Canada
,
Colombia
,
Covid19DataHub
,
Cuba
,
Estonia
,
France
,
Germany
,
Google
,
India
,
Italy
,
JHU
,
Lithuania
,
Netherlands
,
SouthAfrica
,
Switzerland
,
UK
,
USA
Super class
covidregionaldata::DataClass
-> Mexico
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.
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
Inherited methods
Method download()
Data download()
function for Mexico data. This replaces
the generic download function in DataClass()
. To get the latest data
use a PHP script from the website.