Analyses districted electoral systems of any magnitude by computing district-party conversion ratios and seats-to-votes deviations, decomposing the sources of deviation. Traditional indexes are also computed.
    References:
    Kedar, O., Harsgor, L. and Sheinerman, R.A. (2016). <doi:10.1111/ajps.12225>.
    Penades, A and Pavia, J.M. (2025) ''The decomposition of seats-to-votes distortion in elections: mean, variance, malapportionment and participation''.
    Acknowledgements:
    The authors wish to thank Consellería de Educación, Cultura, Universidades y Empleo, Generalitat Valenciana (grant CIACO/2023/031) for supporting this research.

This includes a dataset on the outcomes of the USA presidential elections since 1920, and various predictors, as used in <https://www.vanderwalresearch.com/blog/15-elections>.

Offers a set of functions to easily download and clean 
    Brazilian electoral data from the Superior Electoral Court and 'CepespData' websites. 
    Among other features, the package retrieves data on local and
    federal elections for all positions (city councilor, mayor, state deputy,
    federal deputy, governor, and president) aggregated by
    state, city, and electoral zones.

Provides all electivity algorithms (including Vanderploeg and Scavia 
    electivity) that were examined in Lechowicz (1982) <doi:10.1007/BF00349007>, 
    plus the example data that were provided for moth resource utilisation.

Highest averages & largest remainders allocating seats methods and
    several party system scores.
    Implemented highest averages allocating seats methods are D'Hondt, Webster,
    Danish, Imperiali, Hill-Huntington, Dean, Modified Sainte-Lague,
    equal proportions and Adams.
    Implemented largest remainders allocating seats methods are Hare, Droop,
    Hangenbach-Bischoff, Imperial, modified Imperial and quotas & remainders.
    The main advantage of this package is that ties are always reported
    and not incorrectly allocated.
    Party system scores provided are competitiveness, concentration,
    effective number of parties, party nationalization score,
    party system nationalization score and volatility.
    References:
    Gallagher (1991) <doi:10.1016/0261-3794(91)90004-C>.
    Norris (2004, ISBN:0-521-82977-1).
    Laakso & Taagepera (1979) <https://escholarship.org/uc/item/703827nv>.
    Jones & Mainwaring (2003) <https://kellogg.nd.edu/sites/default/files/old_files/documents/304_0.pdf>.
    Pedersen (1979) <https://janda.org/c24/Readings/Pedersen/Pedersen.htm>.
    Golosov (2010) <doi:10.1177/1354068809339538>.
    Golosov (2014) <doi:10.1177/1354068814549342>.