# Populist attitudes and selective exposure to online news
### Sebastian Stier, Nora Kirkizh, Caterina Froio, Ralph Schroeder
## Replication materials
The data and code provided here enables the replication of the paper ***Populist attitudes and selective exposure to online news – A cross-country analysis combining web tracking and surveys***. The archive contains data and R scripts underlying the analysis in the paper and supplementary material.
## R scripts
| script | description|
|---|--|
| `Analysis.Rmd` | Script that reproduces all analyses reported in the main paper and online appendix |
| `functions.R` | Script that contains functions for running regressions and printing their output |
| `plot_function.R` | Script for creating the regression coefficient plot (Figure 2) |
## Data files
Aggregated data to reproduce the results of the main paper are provided in the folder `Data`. The data files are read into the R scripts where appropriate. The raw web tracking data cannot be shared in order to protect the privacy of study participants and due to proprietary constraints. We share aggregated counts of news visits per panelist instead.
## Helper files
The folder `Helper` contains files for compiling the script `Analysis.Rmd`.