Skip to content

Instant Runoff Voting from Google Sheets. Run Mann Robotics elections

Notifications You must be signed in to change notification settings

mannrobo/electra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mann Robotics Election System

Instant Run-Off voting system tallying votes from Google Forms submissions. Used by Mann Robotics in elections.

Install

yarn

Setup

Modify election.json to look like this:

{
    "spreadsheet": "<ID of Google Sheet>",
    "positions": [
        "List",
        "Of",
        "Positions",
        "To elect"
    ],
    "threshold": 0.5,
    "duplicateCandidates": false
}

Where:

spreadsheet refers to the Google Sheets ID (long string of characters in the URL)

positions contains all positions up for election

threshold is the percentage of votes a candidate has to recieve to be elected

duplicateCandidates refers to whether candidates should be eliminated from all other races (by name) once they are elected to one position

Run

tsc
node out/main.js

About

Instant Runoff Voting from Google Sheets. Run Mann Robotics elections

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published