Political

These functions return sf objects with political boundaries

esp_get_can_box() esp_get_can_provinces()

Get complementary lines when plotting Canary Islands.

esp_get_capimun()

Get the location of municipalities of Spain

esp_get_ccaa() esp_get_ccaa_siane()

Get Autonomous Communities boundaries of Spain

esp_get_country()

Get boundaries of Spain

esp_get_hex_prov() esp_get_hex_ccaa() esp_get_grid_prov() esp_get_grid_ccaa()

Get an hexbin or a map of squares of Spain

esp_get_munic() esp_get_munic_siane()

Get municipalities boundaries of Spain

esp_get_nuts()

Get NUTS boundaries of Spain

esp_get_prov() esp_get_prov_siane()

Get Provinces boundaries of Spain

Natural

These functions return sf objects with natural features

esp_get_hydrobasin()

Get the drainage basin demarcations of Spain

esp_get_hypsobath()

Get hypsometry and bathymetry of Spain

esp_get_rivers()

Get rivers, channels, reservoirs and other wetlands of Spain

Infrastructures

These functions return sf objects with man-made features

esp_get_railway()

Get railways of Spain

esp_get_roads()

Get the roads of Spain

Tiles

Return static tiles or create a leaflet map

addProviderEspTiles() providerEspTileOptions()

Leaflet plugin - Spanish providers

esp_getTiles()

Get Tiles from Public Administrations of Spanish.

Dictionary

Translation across languages and coding systems

esp_dict_region_code() esp_dict_translate()

Convert and translate Subdivision Names

Datasets

These objects are datasets already included in the package.

esp_codelist

Spanish Code Translation Data Frame

esp_munic.sf

All Municipalities POLYGON object of Spain

esp_nuts.sf

All NUTS POLYGON object of Spain

leaflet.providersESP.df

Public WMS and WMTS of Spain

pobmun19

Population by municipality (2019)

About the package

mapSpain-package

mapSpain package