Relectoral0.1.0 package

Electoral Analysis

Disproportionality

Disproportionality index of Rae - 1971 ("R")

fragmentacion_rae

Rae's fragmentation (electoral and parliamentary) vote dimension (F)

Gallagher

Gallagher's disproportionality index of minimum squares - 1991 (Gcm)

get_CCAA

Utilities. ID codes of the Spanish Autonomous Communities

get_Provincias

Utilities. ID codes of the provinces of Spain

Agregado_Mun_MIR

Download. Aggregated data at the municipal level obtained from the MIR...

Agregado_Prov_MIR

Download. Reading of aggregate data at the provincial level obtained f...

AgregadosIndi

Utilities. Obtaining electoral indicators from aggregated data

Arc_Comparacion

Graphs. Comparative chart of Parliamentary Arcs

Arc_Parlamentario

Graphs. Representation of Parliamentary Arc

Bazi

Utilities. Generation of *.bazi files

Bochsler

Utilities. Get data for Bochsler method (2010)

competitividad

Voting Dimension Index. Competitiveness (electoral and parliamentary).

concentracion

Voting Dimension Index. Concentration of votes (electoral and parliame...

Cox_Shugart

Cox_Shugart disproportionality index - 1991 ( CS )

Cox_Shugart_correg

Cox_Shugart disproportionality index corrected ( CS_correg )

Desagregados_Mesa_Mir

Download. Disaggregated data at polling station level obtained from th...

DesAgregadosIndi

Utilities. Obtaining electoral indicators from disaggregated data

hiper

Voting Dimension Index. Hyperfractionality index (electoral and parlia...

IN_LAGO_MONTERO

Nationalisation Index of Montero and Lago (2010)

InjusticiaM

utilities.Mathematical Injustice ( IM )

InjusticiaM_desagregada

Utilities. Disaggregated Mathematical Injustice Calculation

INP

Party Nationalization Index (INP)

INSP

Nationalisation Index of the Political Party System (INSP)

L_max

Index of disproportionality of maximum deviation (Lmax)

L_Tukey

Disproportionality index. Tuckey's line (LT)

Loos_Hanby

Disproportionality index of Loosemore and Hanby - 1971 ("LH")

mapa

Graphs. Representation on maps. Choropleth map

nep

Voting dimension index. Effective number of political parties (elector...

nepMolinar

Voting Dimension Index. Molinar's index of number of parties (electora...

polarizacion

Dimensionality of voting. Polarization index. ( PP )

polarizacion_Dalton

Dimensionality of voting. Adapted version of the polarisation index fr...

Rae_corregido

Corrected Rae's disproportionality index ("Rco")

Regionalismo

Dimensionality of voting. Regionalism

reparto_div

Allocation using divisor methods

Restos_Mayores

Largest remainder method

Sainte_Lague

Sainte-Lague index of disproportionality (SL)

volatilidad

Dimensionality of voting. Volatility

Functions to obtain an important number of electoral indicators described in the package, which can be divided into two large sections: The first would be the one containing the indicators of electoral disproportionality, such as, Rae index, Loosemore–Hanby index, etc. The second group is intended to study the dimensions of the party system vote, through the indicators of electoral fragmentation, polarization, volatility, etc. Moreover, multiple seat allocation simulations can also be performed based on different allocation systems, such as the D'Hondt method, Sainte-Laguë, etc. Finally, some of these functions have been built so that, if the user wishes, the data provided by the Spanish Ministry of Home Office for different electoral processes held in Spain can be obtained automatically. All the above will allow the users to carry out deep studies on the results obtained in any type of electoral process. The methods are described in: Oñate, Pablo and Ocaña, Francisco A. (1999, ISBN:9788474762815); Ruiz Rodríguez, Leticia M. and Otero Felipe, Patricia (2011, ISBN:9788474766226).

  • Maintainer: Miguel Rodríguez Asensio
  • License: GPL-2
  • Last published: 2020-06-14