Germany is important not only because it is our biggest neighbor, but it plays an important role in the European Union as well. Therefore the outcome of the elections is important. The turnout of the latest elections for a new Bundestag was published by most media. I was impressed by the data journalism approach of the Economist.
Here is a copy of one of the visualizations in the article.
The interesting issue is that if you count up the seats you get 734, and the old parliament had 709.
The size of the Bundestag varies. How does this work? Well is complicated; and is related to to votes the first vote(for a person) and the second vote(for a party). But how do you calculate the number of seats in the Bundestag? Of course it is statistics and at R-blogger I found the answer.
Here are the links to the articles:
Both articles explain the logic behind the calculation of the seats. The actual calculation is done through a piece of software: seat-calculator.R
And the piece of code that does the tric look as follows:
That would be a gigantic, very crowded and expensive parliament”.