Download geospatial data from GISCO API - Eurostat
rOpenGov
R package with the administrative boundaries of Spain, including CCAA, provinces and municipalities
rOpenSpain