Package: proporz 1.5.0

proporz: Proportional Apportionment

Calculate seat apportionment for legislative bodies with various methods. The algorithms include divisor or highest averages methods (e.g. Jefferson, Webster or Adams), largest remainder methods and biproportional apportionment. Gaffke, N. & Pukelsheim, F. (2008) <doi:10.1016/j.mathsocsci.2008.01.004> Oelbermann, K. F. (2016) <doi:10.1016/j.mathsocsci.2016.02.003>.

Authors:Flavio Poletti [aut, cre, cph]

proporz_1.5.0.tar.gz
proporz_1.5.0.zip(r-4.5)proporz_1.5.0.zip(r-4.4)proporz_1.5.0.zip(r-4.3)
proporz_1.5.0.tgz(r-4.4-any)proporz_1.5.0.tgz(r-4.3-any)
proporz_1.5.0.tar.gz(r-4.5-noble)proporz_1.5.0.tar.gz(r-4.4-noble)
proporz_1.5.0.tgz(r-4.4-emscripten)proporz_1.5.0.tgz(r-4.3-emscripten)
proporz.pdf |proporz.html
proporz/json (API)
NEWS

# Install 'proporz' in R:
install.packages('proporz', repos = c('https://polettif.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/polettif/proporz/issues

Datasets:
  • finland2019 - Finnish Parliamentary Elections Data
  • uri2020 - Election Data for the Cantonal Council of Uri
  • zug2018 - Election Data for the Cantonal Council of Zug

On CRAN:

apportionmentapportionment-methodsbiproportionalelection-analysis

5.59 score 6 stars 4 scripts 128 downloads 22 exports 0 dependencies

Last updated 8 months agofrom:eba731319e. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 03 2024
R-4.5-winOKNov 03 2024
R-4.5-linuxOKNov 03 2024
R-4.4-winNOTENov 03 2024
R-4.4-macNOTENov 03 2024
R-4.3-winNOTENov 03 2024
R-4.3-macNOTENov 03 2024

Exports:biproporzceil_atdivisor_ceilingdivisor_floordivisor_geometricdivisor_harmonicdivisor_roundget_divisorshighest_averages_methodlargest_remainder_methodlower_apportionmentpivot_to_dfpivot_to_matrixproporzpukelsheimquorum_allquorum_anyreached_quorum_any_districtreached_quorum_totalrun_appupper_apportionmentweight_list_votes

Dependencies:

Apportionment scenarios

Rendered fromapportionment_scenarios.Rmdusingknitr::rmarkdownon Nov 03 2024.

Last update: 2024-03-13
Started: 2024-02-23