To cite the 'mapSpain' package in publications use:

Hernangómez D (2022). mapSpain: Administrative Boundaries of Spain. doi:10.5281/zenodo.5366622, https://ropenspain.github.io/mapSpain/.

Corresponding BibTeX entry:

  @Manual{R-mapspain,
    title = {{mapSpain}: Administrative Boundaries of Spain},
    year = {2022},
    version = {0.6.2},
    author = {Diego Hernangómez},
    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.},
  }