Package: electoral 0.1.3
electoral: 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) <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) <https://ppq.sagepub.com/content/16/2/171.abstract>. Golosov (2014) <https://ppq.sagepub.com/content/early/2014/09/08/1354068814549342.abstract>.
Authors:
electoral_0.1.3.tar.gz
electoral_0.1.3.zip(r-4.7)electoral_0.1.3.zip(r-4.6)electoral_0.1.3.zip(r-4.5)
electoral_0.1.3.tgz(r-4.6-any)electoral_0.1.3.tgz(r-4.5-any)
electoral_0.1.3.tar.gz(r-4.7-any)electoral_0.1.3.tar.gz(r-4.6-any)
electoral_0.1.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
electoral/json (API)
NEWS
| # Install 'electoral' in R: |
| install.packages('electoral', repos = c('https://albuja.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/albuja/electoral/issues
Last updated from:603995deef. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 117 | ||
| source / vignettes | OK | 156 | ||
| linux-release-x86_64 | OK | 111 | ||
| macos-release-arm64 | OK | 128 | ||
| macos-oldrel-arm64 | OK | 159 | ||
| windows-devel | OK | 87 | ||
| windows-release | OK | 77 | ||
| windows-oldrel | OK | 65 | ||
| wasm-release | OK | 89 |
Exports:competitivenessconcentrationenppnspsnsseatsseats_haseats_lrvolatility
Dependencies:clidplyrgenericsglueineqlifecyclemagrittrpillarpkgconfigR6rlangtibbletidyselectutf8vctrswithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Electoral Competitiveness | competitiveness |
| Electoral Concentration | concentration |
| Effective Number of Parties (ENP) | enp |
| Party Nationalization Score (PNS) | pns |
| Party System Nationalization Score (PSNS) | psns |
| Allocating Seats by any method | seats |
| Allocating Seats - Highest Averages | seats_ha |
| Allocating Seats - Largest Remainders | seats_lr |
| Electoral Volatility | volatility |
