Skip to content

mapSpain

1.2.1Package record

Administrative Boundaries and Static Map Tiles for Spain

2packages dependsuggested by 4
19.4Kdownloads / year
100.0%test coverage
13/13flavors OK

Overview

About

Administrative boundaries of Spain at several levels (Autonomous Communities and Cities, provinces, municipalities and 'NUTS'), based on 'GISCO' from 'Eurostat' https://ec.europa.eu/eurostat/web/gisco and 'CartoBase ANE' from 'Instituto Geográfico Nacional' https://www.ign.es/. Includes tools to download and process static map tiles and a 'leaflet' plugin for Spanish public administration tile providers.

Changes in 1.2.1
  • Console messages now use clearer semantic formatting and distinguish warnings from status alerts.
  • Query timeout can now also be controlled with the MAPSPAIN_TIMEOUT environment variable.
  • ?esp_tiles_providers: Updated all WMS providers to use service=WMS&version=1.3.0.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-12
  • ERROR12 OK, 1 ERROR2026-08-09
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-20
Show 6 earlier changesHide 6 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-19
  • OK13 OK2026-06-18
  • ERROR12 OK, 1 ERROR2026-06-12
  • OK13 OK2026-06-01
  • ERROR12 OK, 1 ERROR2026-05-29
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.1
READMEYes · 539 wordsVignettesYes · 2 · staticNEWSYes · 100% structured · mentions 1.2.1Citation fileYes · computed when R runs itWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
39 (3 internal)includes a package overview page
Examples that run
49%18 run in a plain check (9 of them under a condition) · 15 only when donttest examples are enabled (R CMD check --as-cran) · 4 never run
Exported functions with examples
97%
Documented parameters
95%
Return-value docs
100%
Help pages citing references
3%

Downloads

19.4K
CRAN downloads in the past year
Rank #3,392 · ~53/day · ~1.6K/mo
Daily download trend is not available in this view yet.
1.3K30 days
3.2K90 days
19.4K1 year
Compare downloads with other packages →
Also on221 r2u3 autocran133 c2d4u

Repository

50Stars
2Forks
1Open issues
0Open PRs
23Releases
320Commits
6Commit identities
rmapsspaincranccaaadministrative-boundariesmunicipalitiesprovinces
License file reads as GPL-3.0 · 320 commits · Last activity 2026-10-12 · 0% stars, 30d · Discussions: 1 post
Responsiveness
How these are sampled
PRs merged (all time)
94%
Median days to close, 50 most recently updated closed issues
2
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-09-20 · 462026-09-08 · 50
PracticesBeta

23 development-tooling and community-health practices detected across 10 families in the upstream repository

Checks run against github.com/ropenspain/mapspain on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (4)
Code of conductContributing guideIssue templatesSupport guide
Docs source (4)
README.qmdpkgdown

GitHub Pages site last deployed 2026-10-12 · The repository has a site deploy workflow

pkgdown site last built 2026-10-12

Coverage (1)
Coverage reporting
Show all practicesHide 6 practices
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
revdep/
Research and citation (2)
CITATION.cffcodemeta.json
Automation and maintenance (1)
Dependabot
Lint, format, editor (6)
lintrLint workflowjarlAirVS CodeRStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • GitHub Copilotfirst seen 2026-03-22
    Seen in the repository: .github/agents, .github/skills
  • Claude Codefirst seen 2026-05-02
    Seen in the repository: .claude
    Named in .Rbuildignore: .claude
  • Codexfirst seen 2026-07-18
    Seen in the repository: .codex
    Named in .Rbuildignore: .codex
Shared conventions any agent may read, so they name no particular tool.
Seen in the repository: AGENTS.md
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)

Installing mapSpain adds 63 packages (37 with compiled code, 54 MB of source tarballs). Heaviest: sf 9.3 MB, bslib 5.6 MB, sp 4.3 MB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Imports 2
Suggested by 4
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (4)
Author, Maintainer since 0.1.1 (2020), Copyright holder
Contributor · added in 1.0.0
Copyright holder · added in 1.0.0
Copyright holder · added in 0.2.0
Listed in earlier versions (2)
EuroGraphics
no longer listed · 0.1.1
EuroGeographics
no longer listed · 0.1.2 to 0.3.1
Releases (23)

Pick two releases to compare their code metrics.

  • 1.2.1Latest
    record
    2026-08-31 · current release · diff ↗
  • 1.2.0
    record
    2026-06-17 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.0
    record
    2026-03-26 · diff ↗
  • 1.0.0
    record
    2026-01-17 · diff ↗ ·
    removed 1 export
    providerEspTileOptions
    added 8 exports
    esp_get_attributions, esp_get_countries_siane, esp_get_spain, esp_get_spain_siane, esp_get_stations, esp_get_tiles, esp_get_wetlands, esp_siane_bulk_download
  • R
    R 4.5.0 released · 2025-04-11
  • 0.10.0
    record
    2024-12-15 · diff ↗
  • 0.9.2
    record
    2024-08-26 · diff ↗
  • 0.9.1
    record
    2024-06-10 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.9.0
    record
    2024-01-23 · diff ↗ ·
    removed 1 export
    layer_spatraster
    added 2 exports
    esp_detect_cache_dir, esp_move_can
  • 0.8.0
    record
    2023-07-12 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.7.0
    record
    2022-12-22 · diff ↗ ·
    added 1 export
    esp_make_provider
  • 0.6.2
    record
    2022-08-13 · diff ↗ ·
    added 3 exports
    esp_get_comarca, esp_get_simpl_ccaa, esp_get_simpl_prov
  • R
    R 4.2.0 released · 2022-04-22
Show 14 earlier eventsHide 14 earlier events
  • 0.6.1
    record
    2022-02-25 · diff ↗
  • 0.6.0
    record
    2022-02-18 · diff ↗
  • 0.5.0
    record
    2022-01-25 · diff ↗ ·
    added 5 exports
    esp_get_grid_BDN, esp_get_grid_BDN_ccaa, esp_get_grid_EEA, esp_get_grid_ESDAC, esp_get_grid_MTN
  • 0.4.0
    record
    2021-10-14 · diff ↗ ·
    added 2 exports
    esp_check_access, layer_spatraster
  • 0.3.1
    record
    2021-09-10 · diff ↗ ·
    added 1 export
    esp_clear_cache
  • 0.3.0
    record
    2021-09-01 · diff ↗ ·
    added 1 export
    esp_set_cache_dir
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.3
    record
    2021-04-25 · diff ↗
  • 0.2.2
    record
    2021-04-17 · diff ↗
  • 0.2.1
    record
    2021-03-19 · diff ↗
  • 0.2.0
    record
    2021-02-25 · diff ↗ ·
    added 9 exports
    esp_get_capimun, esp_get_ccaa_siane, esp_get_hydrobasin, esp_get_hypsobath, esp_get_munic_siane, esp_get_prov_siane, esp_get_railway, esp_get_rivers, esp_get_roads
  • 0.1.2
    record
    2021-01-05 · diff ↗
  • 0.1.1
    record
    2020-11-30
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-11-30
Total releases
23 / 6 yrs
License
GPL-3 OSI
Copyright
© EuroGeographics for the administrative boundaries. Atlas Nacional de España (ANE) CC-BY 4.0 <https://www.ign.es>. INE <https://www.ine.es/en/index.htm>
Minimum R
≥ 4.1.0
Bundled data
387 KB / 4 files
Download size
1.7 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("mapSpain")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

The repository also keeps a CITATION.cff.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for mapSpain version 1.2.1 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy