
Download data at the polling station level
mesas.Rd`mesas()` downloads, formats and imports to the environment the electoral results data of the selected election at the polling station level.
Value
data.frame with the electoral results data at the polling station
level, or NULL if the remote resource is unavailable.
Examples
# \donttest{
data <- mesas(tipo_eleccion = "congreso", anno = "2023", mes = "07")
#> Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/02202307_MESA.zip
#> Could not download https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/02202307_MESA.zip: SSL peer certificate or SSH remote key was not OK [infoelectoral.interior.gob.es]:
#> SSL certificate problem: unable to get local issuer certificate. The remote resource may be temporarily unavailable.
if (!is.null(data)) {
str(data)
}
# }