spod_get_zones_v1 | R Documentation |
This function retrieves the zones data from the specified data directory. It can retrieve either "distritos" or "municipios" zones data.
spod_get_zones_v1(
zones = c("districts", "dist", "distr", "distritos", "municipalities", "muni",
"municip", "municipios"),
data_dir = spod_get_data_dir(),
quiet = FALSE
)
zones |
The zones for which to download the data. Can be |
data_dir |
The directory where the data is stored. |
quiet |
A |
An sf
object (Simple Feature collection) with 2 fields:
A character vector containing the unique identifier for each zone, to be matched with identifiers in the tabular data.
A MULTIPOLYGON
column containing the spatial geometry of each zone, stored as an sf object.
The geometry is projected in the ETRS89 / UTM zone 30N coordinate reference system (CRS), with XY dimensions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.