Analyzing bias in election polls with R

In Germany, the elections for the next Bundestag are coming up tomorrow:

So I got the polling data of the last 14 years from wahlrecht.de and used Python and Dataset to convert the data into a R-friendly structure, with one number per row, ending up with 27.1k rows in total. Then I put all my R skills together to create this nice colored scatterplot showing all the polls, on all the political parties in Germany.

Awesome analysis by Gregor Aisch, showing how some polling institutes consistently favor certain parties. Make sure you also check out his other work, especially in the cartography section of his blog.

Leave a Reply

Your email address will not be published. Required fields are marked *