A sf object including all municipalities of Spain as provided by GISCO (2019 version).

Format

A POLYGON data frame (resolution: 1:1million, EPSG:4258) object:

  • codauto: INE code of each autonomous community.

  • ine.ccaa.name: INE name of each autonomous community.

  • cpro: INE code of each province.

  • ine.prov.name: INE name of each province.

  • cmun: INE code of each municipality.

  • name: Name of the municipality.

  • LAU_CODE: LAU Code (GISCO) of the municipality.

  • geometry: geometry field.

Source

https://ec.europa.eu/eurostat/web/gisco/geodata/reference-data/, LAU 2019 data.

See also

Examples

data("esp_munic.sf") data("esp_nuts.sf") Teruel.cpro <- esp_dict_region_code("Teruel", destination = "cpro") Teruel.NUTS <- esp_dict_region_code(Teruel.cpro, origin = "cpro", destination = "nuts" ) Teruel.sf <- esp_munic.sf[esp_munic.sf$cpro == Teruel.cpro, ] Teruel.city <- Teruel.sf[Teruel.sf$name == "Teruel", ] # Extract CCAA CCAA <- esp_get_prov() library(tmap) tm_shape(CCAA, bbox = Teruel.sf) + tm_polygons("#DFDFDF") + tm_shape(Teruel.sf) + tm_polygons("#FDFBEA") + tm_shape(Teruel.city) + tm_fill("#C12838") + tm_layout(main.title = "Municipalities of Teruel")