Please note that the data folder only contains data from our non-probability sample.
Data from the ALLBUS, ISSP, and GLES surveys has to be downloaded first before running the code, because I do not have the rights to share them.
Please refer to the paper for the dataset citations and DOIs.
All three surveys offer scientific use files if you agree to the terms and conditions. No separate contract has to be submitted.

To re-run my analyses:
1. Download the correct SUFs for ALLBUS 2014, 1016, and 2018; ISSP 2014; and GLES 2017 and place them in the "data" folder.
2. Then run "01_data_preparation.RMD"
3. Finally, you can knit the results with "02_data_analysis.RMD"

If any issues occur on your machine, do not hesitate to contact me!
