Search results
4 packages found
Run a spatial election model. Input geometry. Cast votes. Use a social choice function. Collect results. Also combine multiple elections across geography, districts, samplings, and polling.
- voting
- voting-methods
- social-choice
- computational-social-choice
- elections
- strategy
- electoral-methods
- plurality
- approval
- condorcet
- instant-runoff
- score
- star
- proportional
- View more
published 0.0.5 6 months ago
M
Q
P
Sainte-Laguë method for seat distribution used in multiple parliamentary elections all over the world
- distribution
- election
- highest quotient method
- lague
- laguë
- proportional
- representation
- sainte
- sainte-lague
- sainte-laguë
- schepers
- seats
- votes
- voting
published 3.0.0 2 years ago
M
Q
P
Zero-dependency and extensible set of highest averages methods for allocating seats in a parliament. ### Install ```shell npm i highest-averages ``` ### Pure Example - Define the candidates with their vote ```typescript const a = new Candidate('A', 200) c
published 1.0.3 2 years ago
M
Q
P
Calculates Sainte-Laguë for an election result.
published 1.0.0 5 years ago
M
Q
P