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/
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.
01-ess-prt-data.R
based on Party Facts import04-party-facts-links.R
based on Party Facts tidyverse example
Required R packages in Dockerfile (install2.r section) and information of all packages used with version numbers in pkg.lock.
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
Use Docker to run RStudio in a browser
docker-compose up -d # start container in detached mode
docker-compose down # shut down container
MIT – Copyright (c) 2023 Paul Bederke and Holger Döring