Information for downloading, cleaning and processing COVID-19 region data for Brazil.
Data available on Github, curated by Wesley Cota: DOI 10.1590/SciELOPreprints.362
covidregionaldata::DataClass -> Brazil
originname of origin to fetch data for
supported_levelsA list of supported levels.
supported_region_namesA list of region names in order of level.
supported_region_codesA list of region codes in order of level.
common_data_urlsList of named links to raw data. Data is available at the city level and is aggregated to provide state data.
source_data_colsexisting columns within the raw data
source_textPlain text description of the source of the data
source_urlWebsite address for explanation/introduction of the data
set_region_codes()Set up a table of region codes for clean data
Brazil$set_region_codes()
clean_common()Common data cleaning for both levels
Brazil$clean_common()
clean_level_1()State Level Data Cleaning
Brazil$clean_level_1()
clean_level_2()City Level Data Cleaning
Brazil$clean_level_2()
clone()The objects of this class are cloneable with this method.
Brazil$clone(deep = FALSE)
deepWhether to make a deep clone.
Subnational data sources
Belgium,
Canada,
Colombia,
Covid19DataHub,
Cuba,
Estonia,
France,
Germany,
Google,
India,
Italy,
JHU,
Lithuania,
Mexico,
Netherlands,
SouthAfrica,
Switzerland,
UK,
USA
# NOT RUN {
region <- Brazil$new(verbose = TRUE, steps = TRUE, get = TRUE)
region$return()
# }
Run the code above in your browser using DataLab