provincias: Download data at the electoral constituency level (province...

View source: R/provincias.R

provinciasR Documentation

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

Description

'provincias()' downloads, formats and imports to the environment the electoral results data of the selected election at electoral constituency level (province or island).

Usage

provincias(tipo_eleccion, anno, mes)

Arguments

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.

Value

data.frame with the electoral results data at the polling station level.

Examples

## Not run: 
  data <- provincias(tipo_eleccion = "congreso", anno = "1982", mes = "10")
  str(data)

## End(Not run)

hmeleiro/elecciones documentation built on March 13, 2024, 7:09 a.m.