Unlimited learning, half price | 50% off
Get 50% off unlimited learning

Relectoral (version 0.1.0)

Electoral Analysis

Description

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<80><93>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: Oate, Pablo and Ocaa, Francisco A. (1999, ISBN:9788474762815); Ruiz Rodrguez, Leticia M. and Otero Felipe, Patricia (2011, ISBN:9788474766226).

Copy Link

Version

Install

install.packages('Relectoral')

Monthly Downloads

186

Version

0.1.0

License

GPL-2

Maintainer

Miguel Asensio

Last Published

June 14th, 2020

Functions in Relectoral (0.1.0)

Cox_Shugart_correg

Cox_Shugart disproportionality index corrected ( CS_correg )
Loos_Hanby

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

Utilities. Disaggregated Mathematical Injustice Calculation
InjusticiaM

utilities.Mathematical Injustice ( IM )
Bochsler

Utilities. Get data for Bochsler method (2010)
Cox_Shugart

Cox_Shugart disproportionality index - 1991 ( CS )
DesAgregadosIndi

Utilities. Obtaining electoral indicators from disaggregated data
Desagregados_Mesa_Mir

Download. Disaggregated data at polling station level obtained from the MIR (Spanish Ministry of Home Office)
Gallagher

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

Disproportionality index of Rae - 1971 ("R")
Sainte_Lague

Sainte-Lague index of disproportionality (SL)
INP

Party Nationalization Index (INP)
Arc_Parlamentario

Graphs. Representation of Parliamentary Arc
competitividad

Voting Dimension Index. Competitiveness (electoral and parliamentary).
AgregadosIndi

Utilities. Obtaining electoral indicators from aggregated data
polarizacion

Dimensionality of voting. Polarization index. ( PP )
Rae_corregido

Corrected Rae's disproportionality index ("Rco")
Bazi

Utilities. Generation of *.bazi files
concentracion

Voting Dimension Index. Concentration of votes (electoral and parliamentary)
Arc_Comparacion

Graphs. Comparative chart of Parliamentary Arcs
fragmentacion_rae

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

Nationalisation Index of the Political Party System (INSP)
hiper

Voting Dimension Index. Hyperfractionality index (electoral and parliamentary) (I)
Agregado_Mun_MIR

Download. Aggregated data at the municipal level obtained from the MIR (Spanish Ministry of Home Office)
Agregado_Prov_MIR

Download. Reading of aggregate data at the provincial level obtained from the MIR (Spanish Ministry of Home Office)
L_Tukey

Disproportionality index. Tuckey's line (LT)
L_max

Index of disproportionality of maximum deviation (Lmax)
polarizacion_Dalton

Dimensionality of voting. Adapted version of the polarisation index from Dalton (2008) (Pd)
IN_LAGO_MONTERO

Nationalisation Index of Montero and Lago (2010)
get_CCAA

Utilities. ID codes of the Spanish Autonomous Communities
nep

Voting dimension index. Effective number of political parties (electoral and parliamentary) (N)
Regionalismo

Dimensionality of voting. Regionalism
Restos_Mayores

Largest remainder method
reparto_div

Allocation using divisor methods
get_Provincias

Utilities. ID codes of the provinces of Spain
volatilidad

Dimensionality of voting. Volatility
mapa

Graphs. Representation on maps. Choropleth map
nepMolinar

Voting Dimension Index. Molinar's index of number of parties (electoral and parliamentary) (NP)