mapSpain
Administrative Boundaries and Static Map Tiles for Spain
mapSpain's 1.0.0 broke every user cache to get the package onto modern foundations.
◆Recent moves
- 1mo ago
Internal helper refactor with the public API held fixed
A broad internal consolidation — download helpers, SIANE handling, EPSG validation, cache management, Canary Islands displacement — explicitly scoped to leave the public API and user-facing behavior unchanged. The maintainer states the work was AI-assisted with human review.
View source ↗ - 4mo ago
Query timeout becomes configurable
options(mapspain_timeout) exposes the request timeout, defaulting to five minutes — a practical concession to slow national geoportals. The httr2 floor is raised to 1.2.0 for compatibility with giscoR, confirming the two packages are maintained as a pair.
View source ↗ - 7mo ago
1.0.0 rebuilds on httr2 and invalidates every cache
⚡ SPARKThe release the rest of this window orbits: everything before it is source expansion, everything after is consolidation on the new foundation. It is also the moment mapSpain accepted a hard break with its installed base to get there.
View source ↗ - 1y ago
Comarcas and simplified INE geometries added
esp_get_comarca() opens a boundary level the package did not cover, alongside simplified province and autonomous community maps from INE. The moveCAN Canary Islands displacement becomes an explicit parameter rather than hidden behavior, and raster plotting is handed off to tidyterra.
View source ↗ - 1y ago
Comarca types split across four official sources
A type argument lets esp_get_comarca() return official IGN, statistical INE, agrarian or livestock comarcas — four competing definitions of the same administrative unit, now selectable rather than assumed. Column selection in the SIANE province getter is made more robust.
View source ↗ - 1y ago
Adapted to the SIANE 2024 databases
Functions follow SIANE's annual database turnover, with the region-code and translation dictionaries improved alongside. The recurring maintenance tax of wrapping national statistical services.
View source ↗