Skip to content

Simple tool in Python used to look and analyse General Election Results in Spain

License

Notifications You must be signed in to change notification settings

a-valvaq-2086/electopy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electopy

Electopy is a simple Python library for analysis and exploration of General Election Results in Spain

Members of Parliament

Aggregate votes by voting region and calculate the Elected Members of Parliament from each voting region. Obtain the composition of the Parliament given an election Result

Regional Map of Most Voted Party

Show a map of Spain with voting regions, with colour coding for the most voted party in that region

Flow of Party Votes

Calculate an election result if a shares of voters from one political party vote another political party

Electoral Map Differences

Compare two election results and the differences of the Parliament composition

Future Improvements

  • Use different flow rates by voting region, instead of a uniform flow
  • More complex voter flows
  • Experiment with alternative voting systems, and see their differences given the same election result

About

Simple tool in Python used to look and analyse General Election Results in Spain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 64.4%
  • Python 35.6%