mapSpain
R package with the administrative boundaries of Spain, including CCAA, provinces and municipalities
Science Score: 57.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.8%) to scientific vocabulary
Keywords
administrative-boundaries
ccaa
cran
ggplot2
gis
gisco
ign
maps
municipalities
provinces
r
r-package
ropenspain
rstats
spain
spatial
static-tiles
tiles
Keywords from Contributors
hack
standardization
cran-r
thematic-maps
interpretation
eurostat-data
eurostat
ropengov
correlates-of-war
igo
Last synced: 4 months ago
·
JSON representation
·
Repository
R package with the administrative boundaries of Spain, including CCAA, provinces and municipalities
Basic Info
- Host: GitHub
- Owner: rOpenSpain
- License: gpl-3.0
- Language: R
- Default Branch: main
- Homepage: https://ropenspain.github.io/mapSpain/
- Size: 1.1 GB
Statistics
- Stars: 46
- Watchers: 3
- Forks: 2
- Open Issues: 4
- Releases: 19
Topics
administrative-boundaries
ccaa
cran
ggplot2
gis
gisco
ign
maps
municipalities
provinces
r
r-package
ropenspain
rstats
spain
spatial
static-tiles
tiles
Created about 5 years ago
· Last pushed 5 months ago
Metadata Files
Readme
Changelog
Contributing
License
Citation
Codemeta
README.Rmd
---
output: github_document
always_allow_html: true
editor_options:
markdown:
wrap: 80
---
```{r, include = FALSE}
knitr::opts_knit$set(
progress = TRUE,
base.url = "https://raw.githubusercontent.com/ropenspain/mapSpain/main/"
)
knitr::opts_chunk$set(
collapse = TRUE,
tidy = "styler",
comment = "#>",
fig.path = "img/README-",
warning = FALSE,
message = FALSE,
dev = "ragg_png",
dpi = 300,
out.width = "100%"
)
initcach <- mapSpain::esp_detect_cache_dir()
mapSpain::esp_set_cache_dir("img/", verbose = FALSE)
```
# mapSpain
[](https://ropenspain.es/)
[](https://CRAN.R-project.org/package=mapSpain)
[](https://cran.r-project.org/web/checks/check_results_mapSpain.html)
[](https://CRAN.R-project.org/package=mapSpain)
[](https://ropenspain.r-universe.dev/mapSpain)
[](https://github.com/rOpenSpain/mapSpain/actions/workflows/check-full.yaml)
[](https://github.com/rOpenSpain/mapSpain/actions/workflows/rhub.yaml)
[](https://app.codecov.io/gh/rOpenSpain/mapSpain)
[](https://doi.org/10.5281/zenodo.5366622)
[](https://www.repostatus.org/#active)
[](https://CRAN.R-project.org/package=mapSpain)
[**mapSpain**](https://ropenspain.github.io/mapSpain/) is a package that
provides spatial **sf** objects of the administrative boundaries of Spain,
including CCAA, provinces and municipalities.
**mapSpain** also provides a leaflet plugin to be used with the [**leaflet**
package](https://rstudio.github.io/leaflet/), that loads several base maps of
public institutions of Spain, and the ability of downloading and processing
static tiles.
Full site with examples and vignettes on
## Installation
Install **mapSpain** from
[**CRAN**](https://CRAN.R-project.org/package=mapSpain):
```{r, eval = FALSE}
install.packages("mapSpain", dependencies = TRUE)
```
You can install the developing version of **mapSpain** using the
[r-universe](https://ropenspain.r-universe.dev/mapSpain):
```{r, eval = FALSE}
# Install mapSpain in R:
install.packages("mapSpain",
repos = c(
"https://ropenspain.r-universe.dev",
"https://cloud.r-project.org"
),
dependencies = TRUE
)
```
Alternatively, you can install the developing version of **mapSpain** with:
```{r, eval = FALSE}
# install.packages("pak")
pak::pak("rOpenSpain/mapSpain", dependencies = TRUE)
```
## Usage
This script highlights some features of **mapSpain** :
```{r static}
library(mapSpain)
library(sf)
library(dplyr)
census <- mapSpain::pobmun19
# Extract CCAA from base dataset
codelist <- mapSpain::esp_codelist %>%
select(cpro, codauto) %>%
distinct()
census_ccaa <- census %>%
left_join(codelist) %>%
# Summarize by CCAA
group_by(codauto) %>%
summarise(pob19 = sum(pob19), men = sum(men), women = sum(women)) %>%
mutate(
porc_women = women / pob19,
porc_women_lab = paste0(round(100 * porc_women, 2), "%")
)
# Merge into spatial data
ccaa_sf <- esp_get_ccaa() %>%
left_join(census_ccaa)
can <- esp_get_can_box()
# Plot with ggplot
library(ggplot2)
ggplot(ccaa_sf) +
geom_sf(aes(fill = porc_women), color = "grey70", linewidth = .3) +
geom_sf(data = can, color = "grey70") +
geom_sf_label(aes(label = porc_women_lab),
fill = "white", alpha = 0.5,
size = 3, label.size = 0
) +
scale_fill_gradientn(
colors = hcl.colors(10, "Blues", rev = TRUE),
n.breaks = 10, labels = scales::label_percent(),
guide = guide_legend(title = "Porc. women", position = "inside")
) +
theme_void() +
theme(legend.position.inside = c(0.1, 0.6))
```
You can combine `sf` objects with static tiles
```{r tile}
# Get census
census <- mapSpain::pobmun19 %>%
mutate(porc_women = women / pob19) %>%
select(cpro, cmun, porc_women)
# Get shapes
shape <- esp_get_munic_siane(region = "Segovia", epsg = 3857)
provs <- esp_get_prov_siane(epsg = 3857)
shape_pop <- shape %>% left_join(census)
tile <- esp_getTiles(shape_pop, type = "IDErioja.Relieve", zoommin = 1)
# Plot
library(ggplot2)
library(tidyterra)
lims <- as.vector(terra::ext(tile))
ggplot(remove_missing(shape_pop, na.rm = TRUE)) +
geom_spatraster_rgb(data = tile, maxcell = 10e6) +
geom_sf(aes(fill = porc_women), color = NA) +
geom_sf(data = provs, fill = NA) +
scale_fill_gradientn(
colours = hcl.colors(10, "RdYlBu", alpha = .5),
n.breaks = 8,
labels = function(x) {
sprintf("%1.0f%%", 100 * x)
},
guide = guide_legend(title = "", )
) +
coord_sf(
xlim = lims[c(1, 2)],
ylim = lims[c(3, 4)],
expand = FALSE
) +
labs(
title = "Share of women in Segovia by town (2019)",
caption = "Source: INE, CC BY 4.0 www.iderioja.org"
) +
theme_void() +
theme(
title = element_text(face = "bold")
)
```
## mapSpain and giscoR
If you need to plot Spain along with another countries, consider using
[**giscoR**](https://ropengov.github.io/giscoR/) package, that is installed as a
dependency when you installed **mapSpain**. A basic example:
```{r giscoR, fig.asp=1}
library(giscoR)
# Set the same resolution for a perfect fit
res <- "20"
all_countries <- gisco_get_countries(resolution = res) %>%
st_transform(3035)
eu_countries <- gisco_get_countries(resolution = res, region = "EU") %>%
st_transform(3035)
ccaa <- esp_get_ccaa(moveCAN = FALSE, resolution = res) %>%
st_transform(3035)
library(ggplot2)
ggplot(all_countries) +
geom_sf(fill = "#DFDFDF", color = "#656565") +
geom_sf(data = eu_countries, fill = "#FDFBEA", color = "#656565") +
geom_sf(data = ccaa, fill = "#C12838", color = "grey80", linewidth = .1) +
# Center in Europe: EPSG 3035
coord_sf(xlim = c(2377294, 7453440), ylim = c(1313597, 5628510)) +
theme(
panel.background = element_blank(),
panel.grid = element_line(colour = "#DFDFDF", linetype = "dotted")
)
```
## A note on caching
Some data sets and tiles may have a size larger than 50MB. You can use
**mapSpain** to create your own local repository at a given local directory
passing the following option:
```{r, eval = FALSE}
esp_set_cache_dir("./path/to/location")
```
When this option is set, **mapSpain** would look for the cached file and it will
load it, speeding up the process.
## Plotting `sf` objects
Some packages recommended for visualization are:
- [**tmap**](https://github.com/r-tmap/tmap)
- [**mapsf**](https://riatelab.github.io/mapsf/)
- [**ggplot2**](https://github.com/tidyverse/ggplot2) +
[**tidyterra**](https://github.com/dieghernan/tidyterra).
- [**leaflet**](https://rstudio.github.io/leaflet/)
## Citation
```{r echo=FALSE, results='asis'}
print(citation("mapSpain"), style = "html")
```
A BibTeX entry for LaTeX users is:
```{r echo=FALSE, comment=''}
toBibtex(citation("mapSpain"))
```
## Contribute
Check the GitHub page for [source
code](https://github.com/ropenspain/mapSpain/).
## Copyright notice
This package uses data from CartoBase SIANE, provided by Instituto Geográfico
Nacional:
> Atlas Nacional de España (ANE) [CC BY
> 4.0](https://creativecommons.org/licenses/by/4.0/deed.en)
> [ign.es](https://www.ign.es/)
See
This package uses data from **GISCO**. GISCO
[(FAQ)](https://ec.europa.eu/eurostat/web/gisco) is a geospatial open data
repository including several data sets at several resolution levels.
*From GISCO \> Geodata \> Reference data \> Administrative Units / Statistical
Units*
> When data downloaded from this page is used in any printed or electronic
> publication, in addition to any other provisions applicable to the whole
> Eurostat website, data source will have to be acknowledged in the legend of
> the map and in the introductory page of the publication with the following
> copyright notice:
>
> EN: © EuroGeographics for the administrative boundaries
>
> FR: © EuroGeographics pour les limites administratives
>
> DE: © EuroGeographics bezüglich der Verwaltungsgrenzen
>
> For publications in languages other than English, French or German, the
> translation of the copyright notice in the language of the publication shall
> be used.
If you intend to use the data commercially, please contact EuroGeographics for
information regarding their license agreements.
```{r include=FALSE}
mapSpain::esp_set_cache_dir(initcach, verbose = FALSE)
```
## Contributors
All contributions to this project are gratefully acknowledged using the [`allcontributors` package](https://github.com/ropensci/allcontributors) following the [allcontributors](https://allcontributors.org) specification. Contributions of any kind are welcome!
### Code
dieghernan
### Issue Authors
pedrotercero3
ajcanepa
fgoerlich
perezcalderon
Cidree
catbru
ana-m-m
### Issue Contributors
mpizarrotig
Owner
- Name: rOpenSpain
- Login: rOpenSpain
- Kind: organization
- Email: hola@ropenspain.es
- Location: Spain
- Website: http://ropenspain.es
- Repositories: 21
- Profile: https://github.com/rOpenSpain
rOpenSci is our form, Spanish public data our matter
Citation (CITATION.cff)
# --------------------------------------------
# CITATION file created with {cffr} R package
# See also: https://docs.ropensci.org/cffr/
# --------------------------------------------
cff-version: 1.2.0
message: 'To cite package "mapSpain" in publications use:'
type: software
license: GPL-3.0-only
title: 'mapSpain: Administrative Boundaries of Spain'
version: 0.10.0
doi: 10.5281/zenodo.5366622
identifiers:
- type: doi
value: 10.32614/CRAN.package.mapSpain
abstract: 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.
authors:
- family-names: Hernangómez
given-names: Diego
email: diego.hernangomezherrero@gmail.com
orcid: https://orcid.org/0000-0001-8457-4658
preferred-citation:
type: manual
title: 'mapSpain: Administrative Boundaries of Spain'
authors:
- family-names: Hernangómez
given-names: Diego
email: diego.hernangomezherrero@gmail.com
orcid: https://orcid.org/0000-0001-8457-4658
year: '2025'
version: 0.10.0
doi: 10.5281/zenodo.5366622
url: https://ropenspain.github.io/mapSpain/
abstract: 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.
repository: https://CRAN.R-project.org/package=mapSpain
repository-code: https://github.com/rOpenSpain/mapSpain
url: https://ropenspain.github.io/mapSpain/
contact:
- family-names: Hernangómez
given-names: Diego
email: diego.hernangomezherrero@gmail.com
orcid: https://orcid.org/0000-0001-8457-4658
keywords:
- ropenspain
- tiles
- r
- maps
- spatial
- rstats
- r-package
- municipalities
- spain
- gisco
- provinces
- ign
- administrative-boundaries
- ccaa
- static-tiles
- cran
- ggplot2
- gis
references:
- type: software
title: 'R: A Language and Environment for Statistical Computing'
notes: Depends
url: https://www.R-project.org/
authors:
- name: R Core Team
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2025'
version: '>= 3.6.0'
- type: software
title: countrycode
abstract: 'countrycode: Convert Country Names and Country Codes'
notes: Imports
url: https://vincentarelbundock.github.io/countrycode/
repository: https://CRAN.R-project.org/package=countrycode
authors:
- family-names: Arel-Bundock
given-names: Vincent
email: vincent.arel-bundock@umontreal.ca
orcid: https://orcid.org/0000-0003-2042-7063
year: '2025'
doi: 10.32614/CRAN.package.countrycode
version: '>= 1.2.0'
- type: software
title: giscoR
abstract: 'giscoR: Download Map Data from GISCO API - Eurostat'
notes: Imports
url: https://ropengov.github.io/giscoR/
repository: https://CRAN.R-project.org/package=giscoR
authors:
- family-names: Hernangómez
given-names: Diego
email: diego.hernangomezherrero@gmail.com
orcid: https://orcid.org/0000-0001-8457-4658
year: '2025'
doi: 10.32614/CRAN.package.giscoR
version: '>= 0.2.4'
- type: software
title: rappdirs
abstract: 'rappdirs: Application Directories: Determine Where to Save Data, Caches,
and Logs'
notes: Imports
url: https://rappdirs.r-lib.org
repository: https://CRAN.R-project.org/package=rappdirs
authors:
- family-names: Ratnakumar
given-names: Sridhar
- family-names: Mick
given-names: Trent
- family-names: Davis
given-names: Trevor
year: '2025'
doi: 10.32614/CRAN.package.rappdirs
version: '>= 0.3.0'
- type: software
title: sf
abstract: 'sf: Simple Features for R'
notes: Imports
url: https://r-spatial.github.io/sf/
repository: https://CRAN.R-project.org/package=sf
authors:
- family-names: Pebesma
given-names: Edzer
email: edzer.pebesma@uni-muenster.de
orcid: https://orcid.org/0000-0001-8049-7069
year: '2025'
doi: 10.32614/CRAN.package.sf
version: '>= 0.9.0'
- type: software
title: utils
abstract: 'R: A Language and Environment for Statistical Computing'
notes: Imports
authors:
- name: R Core Team
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2025'
- type: software
title: curl
abstract: 'curl: A Modern and Flexible Web Client for R'
notes: Suggests
url: https://jeroen.r-universe.dev/curl
repository: https://CRAN.R-project.org/package=curl
authors:
- family-names: Ooms
given-names: Jeroen
email: jeroenooms@gmail.com
orcid: https://orcid.org/0000-0002-4035-0289
year: '2025'
doi: 10.32614/CRAN.package.curl
- type: software
title: ggplot2
abstract: 'ggplot2: Create Elegant Data Visualisations Using the Grammar of Graphics'
notes: Suggests
url: https://ggplot2.tidyverse.org
repository: https://CRAN.R-project.org/package=ggplot2
authors:
- family-names: Wickham
given-names: Hadley
email: hadley@posit.co
orcid: https://orcid.org/0000-0003-4757-117X
- family-names: Chang
given-names: Winston
orcid: https://orcid.org/0000-0002-1576-2126
- family-names: Henry
given-names: Lionel
- family-names: Pedersen
given-names: Thomas Lin
email: thomas.pedersen@posit.co
orcid: https://orcid.org/0000-0002-5147-4711
- family-names: Takahashi
given-names: Kohske
- family-names: Wilke
given-names: Claus
orcid: https://orcid.org/0000-0002-7470-9261
- family-names: Woo
given-names: Kara
orcid: https://orcid.org/0000-0002-5125-4188
- family-names: Yutani
given-names: Hiroaki
orcid: https://orcid.org/0000-0002-3385-7233
- family-names: Dunnington
given-names: Dewey
orcid: https://orcid.org/0000-0002-9415-4582
- family-names: Brand
given-names: Teun
name-particle: van den
orcid: https://orcid.org/0000-0002-9335-7468
year: '2025'
doi: 10.32614/CRAN.package.ggplot2
version: '>= 3.0.0'
- type: software
title: knitr
abstract: 'knitr: A General-Purpose Package for Dynamic Report Generation in R'
notes: Suggests
url: https://yihui.org/knitr/
repository: https://CRAN.R-project.org/package=knitr
authors:
- family-names: Xie
given-names: Yihui
email: xie@yihui.name
orcid: https://orcid.org/0000-0003-0645-5666
year: '2025'
doi: 10.32614/CRAN.package.knitr
- type: software
title: leaflet
abstract: 'leaflet: Create Interactive Web Maps with the JavaScript ''Leaflet''
Library'
notes: Suggests
url: https://rstudio.github.io/leaflet/
repository: https://CRAN.R-project.org/package=leaflet
authors:
- family-names: Cheng
given-names: Joe
email: joe@posit.co
- family-names: Schloerke
given-names: Barret
email: barret@posit.co
orcid: https://orcid.org/0000-0001-9986-114X
- family-names: Karambelkar
given-names: Bhaskar
- family-names: Xie
given-names: Yihui
year: '2025'
doi: 10.32614/CRAN.package.leaflet
version: '>= 2.0.0'
- type: software
title: png
abstract: 'png: Read and write PNG images'
notes: Suggests
url: http://www.rforge.net/png/
repository: https://CRAN.R-project.org/package=png
authors:
- family-names: Urbanek
given-names: Simon
email: Simon.Urbanek@r-project.org
year: '2025'
doi: 10.32614/CRAN.package.png
version: '>= 0.1-5'
- type: software
title: rmarkdown
abstract: 'rmarkdown: Dynamic Documents for R'
notes: Suggests
url: https://pkgs.rstudio.com/rmarkdown/
repository: https://CRAN.R-project.org/package=rmarkdown
authors:
- family-names: Allaire
given-names: JJ
email: jj@posit.co
- family-names: Xie
given-names: Yihui
email: xie@yihui.name
orcid: https://orcid.org/0000-0003-0645-5666
- family-names: Dervieux
given-names: Christophe
email: cderv@posit.co
orcid: https://orcid.org/0000-0003-4474-2498
- family-names: McPherson
given-names: Jonathan
email: jonathan@posit.co
- family-names: Luraschi
given-names: Javier
- family-names: Ushey
given-names: Kevin
email: kevin@posit.co
- family-names: Atkins
given-names: Aron
email: aron@posit.co
- family-names: Wickham
given-names: Hadley
email: hadley@posit.co
- family-names: Cheng
given-names: Joe
email: joe@posit.co
- family-names: Chang
given-names: Winston
email: winston@posit.co
- family-names: Iannone
given-names: Richard
email: rich@posit.co
orcid: https://orcid.org/0000-0003-3925-190X
year: '2025'
doi: 10.32614/CRAN.package.rmarkdown
- type: software
title: slippymath
abstract: 'slippymath: Slippy Map Tile Tools'
notes: Suggests
url: https://www.github.com/milesmcbain/slippymath
repository: https://CRAN.R-project.org/package=slippymath
authors:
- family-names: McBain
given-names: Miles
email: miles.mcbain@gmail.com
orcid: https://orcid.org/0000-0003-2865-2548
- family-names: Sumner
given-names: Michael
email: mdsumner@gmail.com
year: '2025'
doi: 10.32614/CRAN.package.slippymath
version: '>= 0.3.1'
- type: software
title: terra
abstract: 'terra: Spatial Data Analysis'
notes: Suggests
url: https://rspatial.org/
repository: https://CRAN.R-project.org/package=terra
authors:
- family-names: Hijmans
given-names: Robert J.
email: r.hijmans@gmail.com
orcid: https://orcid.org/0000-0001-5872-2872
year: '2025'
doi: 10.32614/CRAN.package.terra
version: '>= 1.1-4'
- type: software
title: testthat
abstract: 'testthat: Unit Testing for R'
notes: Suggests
url: https://testthat.r-lib.org
repository: https://CRAN.R-project.org/package=testthat
authors:
- family-names: Wickham
given-names: Hadley
email: hadley@posit.co
year: '2025'
doi: 10.32614/CRAN.package.testthat
version: '>= 3.0.0'
- type: software
title: tidyterra
abstract: 'tidyterra: ''tidyverse'' Methods and ''ggplot2'' Helpers for ''terra''
Objects'
notes: Suggests
url: https://dieghernan.github.io/tidyterra/
repository: https://CRAN.R-project.org/package=tidyterra
authors:
- family-names: Hernangómez
given-names: Diego
email: diego.hernangomezherrero@gmail.com
orcid: https://orcid.org/0000-0001-8457-4658
year: '2025'
doi: 10.32614/CRAN.package.tidyterra
CodeMeta (codemeta.json)
{
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
"@type": "SoftwareSourceCode",
"identifier": "mapSpain",
"description": "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.",
"name": "mapSpain: Administrative Boundaries of Spain",
"relatedLink": [
"https://ropenspain.github.io/mapSpain/",
"https://CRAN.R-project.org/package=mapSpain"
],
"codeRepository": "https://github.com/rOpenSpain/mapSpain",
"issueTracker": "https://github.com/rOpenSpain/mapSpain/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.10.0",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.5.1 (2025-06-13 ucrt)",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"author": [
{
"@type": "Person",
"givenName": "Diego",
"familyName": "Hernangmez",
"email": "diego.hernangomezherrero@gmail.com",
"@id": "https://orcid.org/0000-0001-8457-4658"
}
],
"copyrightHolder": [
{
"@type": "Person",
"givenName": "Diego",
"familyName": "Hernangmez",
"email": "diego.hernangomezherrero@gmail.com",
"@id": "https://orcid.org/0000-0001-8457-4658"
}
],
"maintainer": [
{
"@type": "Person",
"givenName": "Diego",
"familyName": "Hernangmez",
"email": "diego.hernangomezherrero@gmail.com",
"@id": "https://orcid.org/0000-0001-8457-4658"
}
],
"softwareSuggestions": [
{
"@type": "SoftwareApplication",
"identifier": "curl",
"name": "curl",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=curl"
},
{
"@type": "SoftwareApplication",
"identifier": "ggplot2",
"name": "ggplot2",
"version": ">= 3.0.0",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=ggplot2"
},
{
"@type": "SoftwareApplication",
"identifier": "knitr",
"name": "knitr",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=knitr"
},
{
"@type": "SoftwareApplication",
"identifier": "leaflet",
"name": "leaflet",
"version": ">= 2.0.0",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=leaflet"
},
{
"@type": "SoftwareApplication",
"identifier": "png",
"name": "png",
"version": ">= 0.1-5",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=png"
},
{
"@type": "SoftwareApplication",
"identifier": "rmarkdown",
"name": "rmarkdown",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=rmarkdown"
},
{
"@type": "SoftwareApplication",
"identifier": "slippymath",
"name": "slippymath",
"version": ">= 0.3.1",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=slippymath"
},
{
"@type": "SoftwareApplication",
"identifier": "terra",
"name": "terra",
"version": ">= 1.1-4",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=terra"
},
{
"@type": "SoftwareApplication",
"identifier": "testthat",
"name": "testthat",
"version": ">= 3.0.0",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=testthat"
},
{
"@type": "SoftwareApplication",
"identifier": "tidyterra",
"name": "tidyterra",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=tidyterra"
}
],
"softwareRequirements": {
"1": {
"@type": "SoftwareApplication",
"identifier": "R",
"name": "R",
"version": ">= 3.6.0"
},
"2": {
"@type": "SoftwareApplication",
"identifier": "countrycode",
"name": "countrycode",
"version": ">= 1.2.0",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=countrycode"
},
"3": {
"@type": "SoftwareApplication",
"identifier": "giscoR",
"name": "giscoR",
"version": ">= 0.2.4",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=giscoR"
},
"4": {
"@type": "SoftwareApplication",
"identifier": "rappdirs",
"name": "rappdirs",
"version": ">= 0.3.0",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=rappdirs"
},
"5": {
"@type": "SoftwareApplication",
"identifier": "sf",
"name": "sf",
"version": ">= 0.9.0",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=sf"
},
"6": {
"@type": "SoftwareApplication",
"identifier": "utils",
"name": "utils"
},
"SystemRequirements": null
},
"applicationCategory": "cartography",
"isPartOf": "https://ropenspain.es/",
"keywords": [
"ropenspain",
"tiles",
"r",
"maps",
"spatial",
"rstats",
"r-package",
"municipalities",
"spain",
"gisco",
"provinces",
"ign",
"administrative-boundaries",
"ccaa",
"static-tiles",
"cran",
"ggplot2",
"gis"
],
"fileSize": "2437.193KB",
"citation": [
{
"@type": "SoftwareSourceCode",
"datePublished": "2025",
"author": [
{
"@type": "Person",
"givenName": "Diego",
"familyName": "Hernangmez"
}
],
"name": "{mapSpain}: Administrative Boundaries of Spain",
"identifier": "10.5281/zenodo.5366622",
"url": "https://ropenspain.github.io/mapSpain/",
"@id": "https://doi.org/10.5281/zenodo.5366622",
"sameAs": "https://doi.org/10.5281/zenodo.5366622"
}
],
"releaseNotes": "https://github.com/rOpenSpain/mapSpain/blob/main/NEWS.md",
"readme": "https://github.com/rOpenSpain/mapSpain/blob/main/README.md",
"contIntegration": [
"https://github.com/rOpenSpain/mapSpain/actions/workflows/check-full.yaml",
"https://github.com/rOpenSpain/mapSpain/actions/workflows/rhub.yaml",
"https://app.codecov.io/gh/rOpenSpain/mapSpain"
],
"developmentStatus": "https://www.repostatus.org/#active"
}
GitHub Events
Total
- Create event: 5
- Release event: 1
- Issues event: 7
- Watch event: 2
- Delete event: 3
- Issue comment event: 4
- Push event: 47
- Pull request review event: 1
- Pull request review comment event: 5
- Pull request event: 6
Last Year
- Create event: 5
- Release event: 1
- Issues event: 7
- Watch event: 2
- Delete event: 3
- Issue comment event: 4
- Push event: 47
- Pull request review event: 1
- Pull request review comment event: 5
- Pull request event: 6
Committers
Last synced: almost 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| dieghernan | d****o@g****m | 526 |
| GitHub Actions | a****s@g****m | 54 |
| github-actions[bot] | 4****] | 15 |
| imgbot[bot] | 3****] | 11 |
| dependabot[bot] | 4****] | 4 |
| dieghernan | d****o@g****m | 3 |
| rhijmans | r****s@g****m | 1 |
| ImgBotApp | I****p@g****m | 1 |
Committer Domains (Top 20 + Academic)
github.com: 1
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 47
- Total pull requests: 76
- Average time to close issues: about 1 month
- Average time to close pull requests: 2 days
- Total issue authors: 10
- Total pull request authors: 4
- Average comments per issue: 0.87
- Average comments per pull request: 0.47
- Merged pull requests: 72
- Bot issues: 2
- Bot pull requests: 19
Past Year
- Issues: 4
- Pull requests: 5
- Average time to close issues: 1 day
- Average time to close pull requests: about 6 hours
- Issue authors: 4
- Pull request authors: 2
- Average comments per issue: 0.75
- Average comments per pull request: 0.8
- Merged pull requests: 4
- Bot issues: 0
- Bot pull requests: 3
Top Authors
Issue Authors
- dieghernan (36)
- fgoerlich (2)
- github-actions[bot] (2)
- pedrotercero3 (1)
- catbru (1)
- ana-m-m (1)
- Cidree (1)
- jesbrz (1)
- ajcanepa (1)
Pull Request Authors
- dieghernan (62)
- imgbot[bot] (12)
- dependabot[bot] (7)
- rhijmans (1)
Top Labels
Issue Labels
bug (5)
enhancement (3)
documentation (3)
wontfix (2)
help wanted (1)
good first issue (1)
Pull Request Labels
documentation (9)
dependencies (7)
enhancement (4)
bug (1)
github_actions (1)
Packages
- Total packages: 1
-
Total downloads:
- cran 1,238 last-month
- Total dependent packages: 1
- Total dependent repositories: 5
- Total versions: 19
- Total maintainers: 1
cran.r-project.org: mapSpain
Administrative Boundaries of Spain
- Homepage: https://ropenspain.github.io/mapSpain/
- Documentation: http://cran.r-project.org/web/packages/mapSpain/mapSpain.pdf
- License: GPL-3
-
Latest release: 0.10.0
published about 1 year ago
Rankings
Stargazers count: 8.2%
Forks count: 12.2%
Dependent repos count: 13.0%
Average: 13.1%
Downloads: 14.0%
Dependent packages count: 18.1%
Maintainers (1)
Last synced:
5 months ago
Dependencies
DESCRIPTION
cran
- R >= 3.6.0 depends
- countrycode >= 1.2.0 imports
- giscoR >= 0.2.4 imports
- rappdirs >= 0.3.0 imports
- sf >= 0.9.0 imports
- utils * imports
- ggplot2 >= 3.0.0 suggests
- knitr * suggests
- leaflet >= 2.0.0 suggests
- png >= 0.1 suggests
- rmarkdown * suggests
- slippymath >= 0.3.1 suggests
- terra >= 1.1 suggests
- testthat >= 3.0.0 suggests
- tidyterra * suggests
.github/workflows/cff-validator.yml
actions
- actions/checkout v3 composite
- dieghernan/cff-validator main composite
.github/workflows/check-full.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/lint.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown-gh-pages-clean.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/rostemplate-gh-pages.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/update-citation-cff.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/update-docs.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite