Information for downloading, cleaning and processing COVID-19 region data for Colombia
covidregionaldata::DataClass -> Colombia
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.
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
Colombia$set_region_codes()
download()Colombia specific download using Socrata API
This uses the RSocrata package if it is installed or downloads
a much larger csv file if that package is not available.
Colombia$download()
clean_common()Colombia specific data cleaning
Colombia$clean_common()
clean_level_1()Colombia Specific Department Level Data Cleaning
Aggregates data to the level 1 (department) regional level. Data is provided by the source at the level 2 (municipality) regional level.
Colombia$clean_level_1()
clone()The objects of this class are cloneable with this method.
Colombia$clone(deep = FALSE)
deepWhether to make a deep clone.
Subnational data sources
Belgium,
Brazil,
Canada,
Covid19DataHub,
Cuba,
Estonia,
France,
Germany,
Google,
India,
Italy,
JHU,
Lithuania,
Mexico,
Netherlands,
SouthAfrica,
Switzerland,
UK,
USA
# NOT RUN {
region <- Colombia$new(verbose = TRUE, steps = TRUE, get = TRUE)
region$return()
# }
Run the code above in your browser using DataLab