The R Journal: accepted article

This article will be copy edited and may be changed before publication.

The vote Package: Single Transferable Vote and Other Electoral Systems in R PDF download
Adrian E. Raftery, Hana Ševčíková and Bernard W. Silverman

Abstract We describe the vote package in R, which implements the plurality (or first-past-the-post), two-round runoff, score, approval and single transferable vote (STV) electoral systems, as well as methods for selecting the Condorcet winner and loser. We emphasize the STV system, which we have found to work well in practice for multi-winner elections with small electorates, such as committee and council elections, and the selection of multiple job candidates. For single-winner elections, the STV is also called instant runoff voting (IRV), ranked choice voting (RCV), or the alternative vote (AV) system. The package also implements the STV system with equal preferences, for the first time in a software package, to our knowledge. It also implements a new variant of STV, in which a minimum number of candidates from a specified group are required to be elected. We illustrate the package with several real examples.

Received: 2021-05-03; online 2021-09-20, supplementary material, (1.3 Kb)
CRAN packages: vote, votesys, rcv, STV, HighestMedianRules, electoral, esaps


CC BY 4.0
This article and supplementary materials are licensed under a Creative Commons Attribution 4.0 International license.

@article{RJ-2021-086,
  author = {Adrian E. Raftery and Hana Ševčíková and Bernard W.
          Silverman},
  title = {{The vote Package: Single Transferable Vote and Other
          Electoral Systems in R}},
  year = {2021},
  journal = {{The R Journal}},
  doi = {10.32614/RJ-2021-086},
  url = {https://journal.r-project.org/archive/2021/RJ-2021-086/index.html}
}