Skip to content

hdigital/ess-linking

Repository files navigation

ESS parties

Code and supplementary material for:

  • Bederke, P. and Döring, H. (2023) “Harmonizing and linking party information: The ESS as an example of complex data linking”. Zenodo (preprint). doi: 10.5281/zenodo.10061173
  • Bederke, P. and Döring, H. (2023) “Linking European Social Survey (ESS) party information”. Zenodo (software). doi: 10.5281/zenodo.8421232

Website at https://hdigital.github.io/ess-linking/

Notes

Reproducible documents created with Tidyverse-R and Quarto — see *.qmd files.

Data sets used in analysis are created with 0*.R scripts. Non-public data in folders data-raw and data not included in git repository – see data-raw_files.csv.

Required R packages in Dockerfile (install2.r section) and information of all packages used with version numbers in pkg.lock.

How-to

Run all

callr::rscript("z-run-all.R", stdout="z-run-all.log")  # R console
Rscript z-run-all.R > "z-run-all.log"                  # terminal

set FULL_RECREATE = TRUE to include time intense processing

  • recreate ESS rds-files from dta-sources
  • calculate ESS-Parlgov government-opposition matches

Rocker container

Use Docker to run RStudio in a browser

http://localhost:8787/

docker-compose up -d  # start container in detached mode

docker-compose down   # shut down container

License

MIT – Copyright (c) 2023 Paul Bederke and Holger Döring