Learn R Programming

polAr (version 0.2.0.1)

show_available_elections: Diccionario de elecciones disponibles (Elections collection)

Description

Funci<U+00F3>n que devuelve un tibble con los par<U+00E1>metros necesarios para llamar elecciones con get_election_data (Function that returns a tibble with the necessary parameters to call elections with get_election_data).

Usage

show_available_elections(viewer = FALSE)

Arguments

viewer

Por defecto es FALSE. Cuando TRUE devuelve una tabla en el Viewer de RStudio (The default is FALSE. When TRUE it returns a table in RStudio Viewer).

Value

El objeto de salida es un data set con los id de elecciones necesarios como par<U+00E1>metros para usar con get_election_data. Cuando el par<U+00E1>metro es viewer = FALSE, devuelve un tibble con class "tbl_df","tbl","data.frame", y cuando es viewer = TRUE devuelve un objeto con class "datatables","htmlwidget" (The output is a data set with elections id needed as parameters in get_election_data. When parameter is set to viewer = FALSE it returns a tibble and when it is viewer = TRUE it returns an object of class "datatables","htmlwidget").

See Also

show_available_speech

Examples

Run this code
# NOT RUN {
 show_available_elections(viewer = FALSE)
 
# }

Run the code above in your browser using DataLab