Package: proporz 1.5.0.9000

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.9000.tar.gz
proporz_1.5.0.9000.zip(r-4.5)proporz_1.5.0.9000.zip(r-4.4)proporz_1.5.0.9000.zip(r-4.3)
proporz_1.5.0.9000.tgz(r-4.5-any)proporz_1.5.0.9000.tgz(r-4.4-any)proporz_1.5.0.9000.tgz(r-4.3-any)
proporz_1.5.0.9000.tar.gz(r-4.5-noble)proporz_1.5.0.9000.tar.gz(r-4.4-noble)
proporz_1.5.0.9000.tgz(r-4.4-emscripten)proporz_1.5.0.9000.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'))

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

Pkgdown site:https://polettif.github.io

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.56 score 6 stars 7 scripts 210 downloads 23 exports 0 dependencies

Last updated 3 days agofrom:f9ddd47f8c. Checks:1 OK, 7 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 17 2025
R-4.5-winNOTEFeb 17 2025
R-4.5-macNOTEFeb 17 2025
R-4.5-linuxNOTEFeb 17 2025
R-4.4-winNOTEFeb 17 2025
R-4.4-macNOTEFeb 17 2025
R-4.3-winNOTEFeb 17 2025
R-4.3-macNOTEFeb 17 2025

Exports:biproporzceil_atdistrict_winner_matrixdivisor_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 Feb 17 2025.

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