provincias | R Documentation |
'provincias()' downloads, formats and imports to the environment the electoral results data of the selected election at electoral constituency level (province or island).
provincias(tipo_eleccion, anno, mes)
tipo_eleccion |
The type of choice you want to download. The accepted values are "congreso", "senado", "europeas" o "municipales". |
anno |
The year of the election in YYYY format. |
mes |
The month of the election in MM format. |
data.frame with the electoral results data at the polling station level.
data <- provincias(tipo_eleccion = "congreso", anno = "1982", mes = "10")
str(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.