### Replication materials for article "Die Nutzung sozialer Medien durch Kandidaten im Bundestagswahlkampf 2017" ###
# Authors: Sebastian Stier, Jürgen Maier & Corinna Oschatz 

# Files and data

1_preprocessing.R: Script for merging candidate data with aggregated social media counts. The script documents the social media analysis and creates aggregated count data for each candidate. The raw social media data cannot be shared due to proprietary restrictions of Facebook and Twitter. Tweet IDs and additional information can be downloaded at GESIS: https://doi.org/10.4232/1.12992

2_kandidatenstudie.sps: Script for the analysis of the 2017 GLES candidate survey. The candidate survey data cannot be shared publicly but accessed via GESIS: https://doi.org/10.4232/1.13089

3_analysis.R: Script for regression analyses and plotting of figures. Creates Tables 1-2 and Figures 1-3.