Skip to content

Commit

Permalink
Added codigos_partidos
Browse files Browse the repository at this point in the history
hmeleiro committed Jan 24, 2023
1 parent 1ab7596 commit aab8107
Showing 4 changed files with 35 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ docs
rebuild.R
Untitled.Rmd
gender_gap.Rmd
data/codigos_partidos*
data/elecciones.csv
.+xlsx
.+csv
13 changes: 13 additions & 0 deletions R/data.R
Original file line number Diff line number Diff line change
@@ -39,6 +39,19 @@
#' @source \url{https://www.ine.es/dyngs/INEbase/es/operacion.htm?c=Estadistica_C&cid=1254736177031&menu=ultiDatos&idp=1254734710990}
"codigos_municipios"

#' Recoded party names
#'
#' This dataset contains a list of recoded electoral party or coalition names with their correspondent national codes. For example: 'PSOE' when the original name is 'PSA-PSOE', 'PSOE-PROGR.' or 'PSOE-A'. This recodification helps the longitudinal analysis of the electoral results, avoiding the many variations in the party and coalition names.
#'
#' @format A dataset with the names of the electoral party or coalition
#' \describe{
#' \item{anno}{Year of the election}
#' \item{mes}{Month of the election}
#' \item{codigo_partido_nacional}{The national accumulation code for the electoral party or coalition}
#' \item{partido}{The recoded name for the electoral party or coalition.}
#' }
"codigos_partidos"

#' Mean income at the census section level (INE)
#'
#' This dataset contains the mean income of each census section
Binary file added data/codigos_partidos.RData
Binary file not shown.
22 changes: 22 additions & 0 deletions man/codigos_partidos.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aab8107

Please sign in to comment.