Description Usage Arguments Details Value Examples
Función que agrega el nombre de las listas o partidos como columna a un tibble obtenido con get_election_data(long = TRUE)
(Function that adds party labels as a column to a tibble obtained with get_election_data(long = TRUE)
).
1 |
data |
un tibble descargado con |
El formato de data
debe ser long
para poder obtener
nombres de listas con get_names
. Si data
es wide se puede transformar con make_long
(long
format of data
is required to get party labels with get_names
. If data
is in
wide format you can transform it with make_long
).
Devuelve el data set original con una columna extra con la identifiacion de las listas o partidos politicos.
Como el objeto de entrada, este es class "tbl_df","tbl","data.frame"
(it retruns the original data set with a binded column with political parties names.
As the original input the object is of class "tbl_df","tbl","data.frame"
).
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.