Package: electsys21 0.1.0
electsys21: Voting Methods for Ranked, Rated and Approval Ballots
Implements a range of voting methods and electoral systems for determining election winners, including the D21 method with and without minus votes (Janecek, <https://www.ih21.org/en/d21-janecek-method>), first-past-the-post, two-round runoff, instant runoff, the Borda count, approval voting, majority judgement and the Condorcet method. The functions accept several ballot formats - ranking, cardinal utilities, approvals and scores - with automatic detection of the input type, configurable tie-breaking and tidy summaries of the results.
Authors:
electsys21_0.1.0.tar.gz
electsys21_0.1.0.tar.gz(r-4.7-any)electsys21_0.1.0.tar.gz(r-4.6-any)
electsys21_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
electsys21/json (API)
| # Install 'electsys21' in R: |
| install.packages('electsys21', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ivan-ih21/electsys21/issues
Last updated from:548aa724bd. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 148 | ||
| source / vignettes | OK | 148 | ||
| linux-release-x86_64 | OK | 128 | ||
| wasm-release | OK | 96 |
Exports:approvalbordacondorcetd21d21_minusfptpgen_approvalsgen_ranksgen_utilitiesirvmajority_judgementtworound
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Approval Voting | approval |
| Borda Count | borda |
| Condorcet Method | condorcet |
| D21 Voting | d21 |
| D21 Voting with minus votes | d21_minus |
| First-Past-The-Post voting | fptp |
| Generate random approval ballots | gen_approvals |
| Generate random ranking ballots | gen_ranks |
| Generate random utility ballots | gen_utilities |
| Instant Runoff Voting | irv |
| Majority Judgment | majority_judgement |
| Two-Round System (runoff) election | tworound |
