View source: R/get_election_results.R
get_election_results | R Documentation |
Función que descarga resultados electorales agregados, nacionales y provinciales desde 2007
(Function that downloads national electoral data since 2007)
get_election_results(
district = NULL,
category = NULL,
round = NULL,
year = NULL
)
district |
un character con código para Argentina y las 24 provincias (a named character with code for Argentina and the 24 provinces). |
category |
un character para la categoría electoral: diputado (a character with a name for the electoral category: deputy |
round |
un character para tipo de elección: primaria (a character with a name for the election round: primary |
year |
un integer para el año de eleccion (an integer for the year of choice). |
devuelve un tibble con class "spec_tbl_df", "tbl_df","tbl", "data.frame"
con los resultados de una elección determinada
(returns a tibble with electoral results of interest with class "spec_tbl_df", "tbl_df","tbl", "data.frame"
).
get_election_data(district = "caba",
category = "dip",
round = "paso",
year = 2011,
level = "provincia",
long = TRUE, raw = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.