Crandore Hub

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.

Versions across snapshots

VersionRepositoryFileSize
0.1.0 rolling linux/jammy R-4.5 electsys21_0.1.0.tar.gz 221.0 KiB
0.1.0 rolling linux/noble R-4.5 electsys21_0.1.0.tar.gz 220.9 KiB
0.1.0 rolling source/ R- electsys21_0.1.0.tar.gz 44.8 KiB
0.1.0 latest linux/jammy R-4.5 electsys21_0.1.0.tar.gz 221.0 KiB
0.1.0 latest linux/noble R-4.5 electsys21_0.1.0.tar.gz 220.9 KiB
0.1.0 latest source/ R- electsys21_0.1.0.tar.gz 44.8 KiB
0.1.0 2026-04-23 source/ R- electsys21_0.1.0.tar.gz 0 B

Dependencies (latest)

Imports