Data Visualization

Voter shifts in parliamentary elections in Poland, 2007-2015

How 2015 voters voted in 2007 and 2011 How 2007 voters voted in 2011 and 2015 About POLPAN Where did the current governing party get their votes from? Did supporters of the previous ruling party switch preferences or did they abstain from voting altogether? Cross-sectional datasets, such as one-off election polls, do not typically provide data to answer these questions. Panel studies, such as the Polish Panel Survey (POLPAN), do.

Dot plot challenge: Voting gender gaps in Europe

Getting and reshaping the data The Dot Plot The August edition of the Storytelling with Data challenge #SWDchallenge stars the dot plot. Here is a simple plot of the gender gap in voting in national elections using the most recent 8th Round of the European Social Survey, ESS. Getting and reshaping the data library(essurvey) # getting European Social Survey data library(tidyverse) # data cleaning and reshaping library(countrycode) # converting country codes to names library(ggplot2) # plots With the essurvey package the ESS data can be downloaded directly to R.