Functions

Download, format and import electoral data to the enviroment.

municipios()

Download data at the municipality level

mesas()

Download data at the polling station level

provincias()

Download data at the electoral constituency level (province or island)

candidatos()

Download candidate data

Datasets

Datasets with the official codes and names of the different administrative levels (autonomous communities, provinces and municipalities).

fechas_elecciones

Election dates

codigos_ccaa

Administrative codes for spanish autonomous communities.

codigos_provincias

Administrative codes for spanish provinces.

codigos_municipios

Administrative codes for spanish municipalities.

codigos_partidos

Recoded party names

renta

Mean income at the census section level (INE)