ScrapersScrapers for various election polls. 


Scrape surveys for German general election 

Import Austrian survey results 

WorkflowGet data, perform simulation, redistribute seats, calculate probabilities. 


Scrape surveys from all pollsters 
Obtain pooled survey during specified period 

Draw random numbers from posterior distribution 

Calculate percentage of votes/seats after excluding parties with


Do coalitions have a majority 

Calculate seat distribution from draws from posterior 

Wrapper for calculation of coalition probabilities from survey 

Seat distributionMethods used to distribute seats across parties based on voting percentages. 

Seat Distribution by D'Hondt 

Seat Distribution by SainteLague/Schepers 

Seat Distribution by Hare/Niemeyer 