To cite the 'mapSpain' package in publications use:

Hernangómez D (2021). mapSpain: Administrative Boundaries of Spain. doi: 10.5281/zenodo.5366622, R package version 0.4.0, https://ropenspain.github.io/mapSpain/.

Corresponding BibTeX entry:

  @Manual{,
    title = {mapSpain: Administrative Boundaries of Spain},
    author = {Diego Hernangómez},
    year = {2021},
    note = {R package version 0.4.0},
    url = {https://ropenspain.github.io/mapSpain/},
    doi = {10.5281/zenodo.5366622},
  }