download_geospatial {ColOpenData} | R Documentation |
This function downloads geospatial datasets from the National Geostatistical Framework at different levels of spatial aggregation. These datasets include a summarized version of the National Population and Dwelling Census (CNPV) with demographic and socioeconomic information for each spatial unit.
download_geospatial(
spatial_level,
simplified = TRUE,
include_geom = TRUE,
include_cnpv = TRUE
)
spatial_level |
character with the spatial level to be consulted:
|
simplified |
logical for indicating if the downloaded spatial data
should be a simplified version of the geometries. Simplified versions are
lighter but less precise, and are only recommended for easier applications
like plots. Default is |
include_geom |
logical for including (or not) the spatial geometry.
Default is |
include_cnpv |
logical for including (or not) CNPV demographic and
socioeconomic information. Default is |
data.frame
object with downloaded data.
departments <- download_geospatial("department")
head(departments)