Code and data to reproduce the analysis of Facebook activity of political parties around the 2017 German national election published as "Germany's far-right party AfD won the Facebook battle. By a lot." in the Washington Post's Monkey Cage blog, September 26th 2017.
code
directory contains a Jupyter notebook used to reproduce the figures in the article, along with some additional figures that were not used. The notebook contains Python 3 code and requires that the packages pandas
, matplotlib
, seaborn
and their dependencies are installed run.
data
directory contains four csv files, containing daily counts of posts, likes, shares, and likes from new users.
Please contact trd54 at cornell dot edu
if you have any enquiries and please cite our article and this repository if you use our data for any published work.