A set of ruby scripts to calculate winners in Norwegian elections.
License
sigvei/celulitt
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Celulitt README Celulitt is Norwegian election results calculation for the rest of us. That is: those of us who won't pay for NSD's "Celius". Or those of us who enjoy controlling the media's use of Celius. The data/ directory contains example data, namely the results of the 2009 election. The file is in YAML format. This makes it easy to load, modify programatically and save data, for instance to simulate changes in the vote or the district structure. YAML is also easy to modify directly as text files. To use celulitt, you need Ruport. Install it: gem install ruport -y For Mac OS X, Ubuntu and others, you need to add "sudo": sudo gem install ruport -y To calculate the winners of an election, execute "valg.rb" with a given data file, for instance: ./valg.rb data/valg2009.yaml Other options are available; try ./valg.rb --help for information. Celulitt is licensed according to the GPL version 3.0. See LICENSE for details. Celulitt is written by Sigve Indregard <sigve.indregard@gmail.com>.
About
A set of ruby scripts to calculate winners in Norwegian elections.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published