1982–2023 · 13 elections · ESP
SAGE has legislative election results for Spain from 13 elections between 1982 and 2023: 1982, 1986, 1989, 1993, 1996, 2000, 2004, 2008, 2011, 2015, 2016, 2019 and 2023. The smallest unit is the polling station. The 2023 election has 60,386 polling stations, and 100% of them have a location. Unit boundaries are available for 2004, 2008, 2011, 2015, 2016, 2019 and 2023.
[explore on the map] [download] [codebook] [all 134 countries]
Units are the smallest units in the data, and located units are those with coordinates. A year with several rows has several contests or votes; filter on them before you add up votes.
| Year | Election type | Vote type | Round | Units | % located | Votes | Polygons | |
|---|---|---|---|---|---|---|---|---|
| 1982 | Legislative (lower house) | 40,813 | 0% | 21,139,940 | [map] | |||
| 1986 | Legislative (lower house) | 42,811 | 0% | 20,192,408 | [map] | |||
| 1989 | Legislative (lower house) | 44,354 | 0% | 20,478,132 | [map] | |||
| 1993 | Legislative (lower house) | 46,781 | 0% | 23,648,031 | [map] | |||
| 1996 | Legislative (lower house) | 49,289 | 0% | 25,156,779 | [map] | |||
| 2000 | Legislative (lower house) | 53,716 | 0% | 23,233,046 | [map] | |||
| 2004 | Legislative (lower house) | 56,657 | 100% | 26,048,906 | yes | [map] | ||
| 2008 | Legislative (lower house) | 59,418 | 100% | 26,203,435 | yes | [map] | ||
| 2011 | Legislative (lower house) | 59,948 | 100% | 24,160,535 | yes | [map] | ||
| 2015 | Legislative (lower house) | 57,583 | 100% | 25,199,134 | yes | [map] | ||
| 2016 | Legislative (lower house) | 57,603 | 100% | 24,114,304 | yes | [map] | ||
| 2019 | Legislative (lower house) | 61,270 | 100% | 50,562,914 | yes | [map] | ||
| 2023 | Legislative (lower house) | 60,386 | 100% | 24,894,097 | yes | [map] |
csv opens in Excel, Stata, R, or Python. gpkg has the unit boundaries
for QGIS, ArcGIS, R, or Python. parquet has the vote rows as Parquet.
rds is the native R sf object. Each ZIP has a README with the columns.
All years: [csv 98 MB] [gpkg 653 MB] [parquet 647 MB] [rds 3.8 GB] [codebook 1.1 MB]
In R or Python:
R: install.packages("sage")
sage::sage_load("Spain", years = 2023)
Python: import sage
sage.sage_load("Spain", years=[2023])
Dasanaike, Noah. “The Small-Area Global Elections (SAGE) Dataset.” Scientific Data (2026). Paper · Harvard Dataverse
← South Korea · All countries · Sri Lanka →