mapSpain: Administrative Boundaries of Spain

Administrative Boundaries of Spain at several levels (Autonomous Communities, Provinces, Municipalities) based on the 'GISCO' 'Eurostat' database <https://ec.europa.eu/eurostat/web/gisco> and 'CartoBase SIANE' from 'Instituto Geografico Nacional' <https://www.ign.es/>. It also provides a 'leaflet' plugin and the ability of downloading and processing static tiles.

Version: 1.0.0
Depends: R (≥ 4.1.0)
Imports: cli (≥ 3.6.0), countrycode (≥ 1.2.0), giscoR (≥ 1.0.0), httr2, jsonlite, lifecycle, rappdirs (≥ 0.3.0), sf (≥ 1.0.0), tibble, utils
Suggests: dplyr, ggplot2 (≥ 3.5.0), knitr, leaflet (≥ 2.0.0), rmarkdown, terra (≥ 1.1-4), testthat (≥ 3.0.0), tidyterra
Published: 2026-01-17
DOI: 10.32614/CRAN.package.mapSpain
Author: Diego Hernangómez ORCID iD [aut, cre, cph], Eurostat ROR ID [cph], Instituto Geográfico Nacional ROR ID [cph], Francisco J. Goerlich ORCID iD [ctb]
Maintainer: Diego Hernangómez <diego.hernangomezherrero at gmail.com>
BugReports: https://github.com/rOpenSpain/mapSpain/issues
License: GPL-3
Copyright: © EuroGeographics for the administrative boundaries. Atlas Nacional de España (ANE) CC BY 4.0 <http://www.ign.es>. INE <https://www.ine.es/en/index.htm>
mapSpain copyright details
URL: https://ropenspain.github.io/mapSpain/, https://github.com/rOpenSpain/mapSpain
NeedsCompilation: no
Citation: mapSpain citation info
Materials: README, NEWS
In views: Spatial
CRAN checks: mapSpain results

Documentation:

Reference manual: mapSpain.html , mapSpain.pdf
Vignettes: Imagery and mapSpain (source, R code)
Get Started (source)

Downloads:

Package source: mapSpain_1.0.0.tar.gz
Windows binaries: r-devel: mapSpain_0.10.0.zip, r-release: mapSpain_0.10.0.zip, r-oldrel: mapSpain_0.10.0.zip
macOS binaries: r-release (arm64): mapSpain_0.10.0.tgz, r-oldrel (arm64): mapSpain_0.10.0.tgz, r-release (x86_64): mapSpain_0.10.0.tgz, r-oldrel (x86_64): mapSpain_0.10.0.tgz
Old sources: mapSpain archive

Reverse dependencies:

Reverse imports: CatastRo
Reverse suggests: climaemet, ineAtlas, spanishoddata

Linking:

Please use the canonical form https://CRAN.R-project.org/package=mapSpain to link to this page.