Skip to content

wbtag/electr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

electr readme

electr is an R package used for converting party votes in elections into parliamentary seats according to Czech election law, specifically Act N. 247/1995 Coll (as amended by Act N. 189/2021 Coll.). It is currently capable of calculating seat distributions according to the current electoral law, as well as according to the mechanism used between 2002 and 2021 (Act N. 37/2002 Coll.).

Planned features:

  • Resolution mechanism for vote remainder ties (§50/4 or §51/3,4)
  • Historical seat distribution mechanisms (1996 Election Act version, potentially others)
  • Separate thresholds for coalitions

The package comes with two datasets of party vote gains in the 2017 and 2021 Chamber of Deputies elections, called psp17 and psp21.

About

A simple R package for converting election votes into parliamentary seats according to Czech law.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages