- Bi-annual ESS datasets (waves 1-8) are compressed in the full_datasets folder.
- The relevant variables (satisfaction with democracy and individual-level covariates) are extracted when the cumulative 8-wave dataset is generated.
Download or clone this entire project repository.
Step 1: Generate the cumulative dataset
- Unzip the files ESS1.zip through ESS8.zip.
- Open generate_cumulative_ESS_dataset.do in STATA.
- Change the working directory as needed.
- Run the code.
Step 2A: Replicate regressions
- Run the code in sentiment_code.do.
- (If STATA does not execute/recognize the
epcpcommand, download it from Christopher N. Lawrence and place the epcp.ado file in your
Step 2B: Show evaluation of democracy over time
Run the code in prepare_figure1.R.