Offers a set of functions that automatically downloads and aggregates
election data from Brazil, directly from the Superior Electoral Court website.
Among others, there are data available on local and federal elections for all positions
(city councillor, mayor, state deputy, federal deputy, governor, and president)
disaggregated by state of the Federation, city, zone, and polling stations.
In addition, data on the verification (blank votes, null votes, abstention),
candidates' and voters' backgrounds are also available.

Offers a set of functions to easily download and clean
Brazilian electoral data from the Superior Electoral Court website.
Among others, 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.
magrittr, dplyr (>= 0.5.0), data.table (>= 1.9.8), haven (>=
1.0.0), stats

c(
person("Denisson", "Silva", , "denissoncsol@gmail.com", c("aut", "cre")),
person("Fernando", "Meireles", , "fmeireles@ufmg.br", "aut"),
person("Beatriz", "Costa", ,"bea.s.costa@gmail.com", "ctb")
)
magrittr, dplyr (>= 0.5.0), data.table (>= 1.9.8), haven (>=
1.0.0), readr, stats

magrittr, dplyr (>= 1.0.0), data.table (>= 1.9.8), haven (>=
1.0.0), readr, stats

person("Desi", "Quintans", email = "science@desiquintans.com",
role = c("aut", "cre"), comment = c(ORCID = "0000-0003-3356-0293"))
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.
Desi Quintans [aut, cre] (<https://orcid.org/0000-0003-3356-0293>)

Allocating Seats Methods and Party System Scores
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).
Consejo Nacional Electoral del Ecuador (2014)<http://cne.gob.ec/documents/Estadisticas/Atlas/ATLAS/CAPITULO%206%20web.pdf>.
Laakso & Taagepera (1979) <http://journals.sagepub.com/doi/pdf/10.1177/001041407901200101>.
Jones & Mainwaring (2003) <https://kellogg.nd.edu/sites/default/files/old_files/documents/304_0.pdf>.
Pedersen (1979) <http://janda.org/c24/Readings/Pedersen/Pedersen.htm>.