National-, (autonomous) community- and provincial-level election data used
by the Congress of Deputies election results lookup system is now available
in CSV (Comma-Separated Values)
format.
Community- and provincial-level election data used by the
Andalusian Parliament,
Catalan Parliament, Basque
Parliament and Galician Parliament election
results lookup systems is also available in CSV format.
The data files (one per general election) consist
of the following columns:
-
Community (blank for Spain totals)
-
Province (blank for Spain or community totals)
-
Election
-
Ticket or Election Statistic
-
Votes, Voters or Electors
-
Percent
-
Seats
-
Iteration (2019 only: value of "B" for November 10 general election; blank
for April 28 election)
The election statistics come from official reports issued by the
Spanish Ministry of the Interior,
the Central Electoral
Commission and the Spanish
National Statistics Institute. Please note that both 2019 general election
results are definitive figures, which include Spanish electors residing
abroad - the CERA - whose votes were tallied shortly after election day.
Autonomous Community Codes
|
|
01 |
|
|
Andalucía |
|
|
|
|
|
02 |
|
|
Aragón |
|
|
|
|
|
03 |
|
|
Asturias |
|
|
|
|
|
04 |
|
|
Illes Balears (Baleares) |
|
|
|
|
|
05 |
|
|
Canarias |
|
|
|
|
|
06 |
|
|
Cantabria |
|
|
|
|
|
07 |
|
|
Castilla-La Mancha |
|
|
|
|
|
08 |
|
|
Castilla y León |
|
|
|
|
|
09 |
|
|
Cataluña |
|
|
|
|
|
10 |
|
|
Extremadura |
|
|
|
|
|
11 |
|
|
Galicia |
|
|
|
|
|
12 |
|
|
Madrid |
|
|
|
|
|
13 |
|
|
Navarra |
|
|
|
|
|
14 |
|
|
País Vasco |
|
|
|
|
|
15 |
|
|
Región de Murcia |
|
|
|
|
|
16 |
|
|
La Rioja |
|
|
|
|
|
17 |
|
|
Comunidad Valenciana |
|
|
|
|
|
18 |
|
|
Ceuta |
|
|
|
|
|
19 |
|
|
Melilla |
|
|
|
Province Codes
|
|
01 |
|
|
Araba - Álava |
|
|
|
|
|
02 |
|
|
Albacete |
|
|
|
|
|
03 |
|
|
Alicante / Alacant |
|
|
|
|
|
04 |
|
|
Almería |
|
|
|
|
|
05 |
|
|
Ávila |
|
|
|
|
|
06 |
|
|
Badajoz |
|
|
|
|
|
07 |
|
|
Illes Balears (Baleares) |
|
|
|
|
|
08 |
|
|
Barcelona |
|
|
|
|
|
09 |
|
|
Burgos |
|
|
|
|
|
10 |
|
|
Cáceres |
|
|
|
|
|
11 |
|
|
Cádiz |
|
|
|
|
|
12 |
|
|
Castellón / Castelló |
|
|
|
|
|
13 |
|
|
Ciudad Real |
|
|
|
|
|
14 |
|
|
Córdoba |
|
|
|
|
|
15 |
|
|
A Coruña |
|
|
|
|
|
16 |
|
|
Cuenca |
|
|
|
|
|
17 |
|
|
Girona (Gerona) |
|
|
|
|
|
18 |
|
|
Granada |
|
|
|
|
|
19 |
|
|
Guadalajara |
|
|
|
|
|
20 |
|
|
Gipuzkoa (Guipúzcoa) |
|
|
|
|
|
21 |
|
|
Huelva |
|
|
|
|
|
22 |
|
|
Huesca |
|
|
|
|
|
23 |
|
|
Jaén |
|
|
|
|
|
24 |
|
|
León |
|
|
|
|
|
25 |
|
|
Lleida (Lérida) |
|
|
|
|
|
26 |
|
|
La Rioja (Logroño) |
|
|
|
|
|
27 |
|
|
Lugo |
|
|
|
|
|
28 |
|
|
Madrid |
|
|
|
|
|
29 |
|
|
Málaga |
|
|
|
|
|
30 |
|
|
Murcia |
|
|
|
|
|
31 |
|
|
Navarra |
|
|
|
|
|
32 |
|
|
Ourense (Orense) |
|
|
|
|
|
33 |
|
|
Asturias (Oviedo) |
|
|
|
|
|
34 |
|
|
Palencia |
|
|
|
|
|
35 |
|
|
Las Palmas |
|
|
|
|
|
36 |
|
|
Pontevedra |
|
|
|
|
|
37 |
|
|
Salamanca |
|
|
|
|
|
38 |
|
|
Santa Cruz de Tenerife |
|
|
|
|
|
39 |
|
|
Cantabria (Santander) |
|
|
|
|
|
40 |
|
|
Segovia |
|
|
|
|
|
41 |
|
|
Sevilla |
|
|
|
|
|
42 |
|
|
Soria |
|
|
|
|
|
43 |
|
|
Tarragona |
|
|
|
|
|
44 |
|
|
Teruel |
|
|
|
|
|
45 |
|
|
Toledo |
|
|
|
|
|
46 |
|
|
Valencia / València |
|
|
|
|
|
47 |
|
|
Valladolid |
|
|
|
|
|
48 |
|
|
Bizkaia (Vizcaya) |
|
|
|
|
|
49 |
|
|
Zamora |
|
|
|
|
|
50 |
|
|
Zaragoza |
|
|
|
|
|
51 |
|
|
Ceuta |
|
|
|
|
|
52 |
|
|
Melilla |
|
|
|
Elections and Data Files
|
|
July 23, 2023 |
|
|
2023.csv |
|
|
|
|
|
April 28 and November 10, 2019 |
|
|
2019.csv |
|
|
|
|
|
June 26, 2016 |
|
|
2016.csv |
|
|
|
|
|
December 20, 2015 |
|
|
2015.csv |
|
|
|
|
|
November 20, 2011 |
|
|
2011.csv |
|
|
|
|
|
March 9, 2008 |
|
|
2008.csv |
|
|
|
|
|
March 14, 2004 |
|
|
2004.csv |
|
|
|
|
|
March 12, 2000 |
|
|
2000.csv |
|
|
|
|
|
March 3, 1996 |
|
|
1996.csv |
|
|
|
|
|
June 6, 1993 |
|
|
1993.csv |
|
|
|
|
|
October 29, 1989 |
|
|
1989.csv |
|
|
|
|
|
June 22, 1986 |
|
|
1986.csv |
|
|
|
|
|
October 28, 1982 |
|
|
1982.csv |
|
|
|
|
|
March 1st, 1979 |
|
|
1979.csv |
|
|
|
|
|
June 15, 1977 |
|
|
1977.csv |
|
|
|
Last update: September 7, 2023. |