Skip to content

hdigital/ess-linking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Oct 9, 2023
Aug 28, 2023
Aug 28, 2023
Oct 9, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023
Aug 28, 2023

Repository files navigation

ESS parties

Code and supplementary information for: Paul Bederke and Holger Döring. 2023. “Harmonizing and Linking Party Information: The ESS as an Example of Complex Data Linking.” — see manuscript

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 renv.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