Sovereign 8s.is mirror of standardgalactic/farac
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-06-29 23:12:05 +02:00
R FARAC replication pipeline 2026-06-29 23:12:05 +02:00
renv FARAC replication pipeline 2026-06-29 23:12:05 +02:00
.gitignore FARAC replication pipeline 2026-06-29 23:12:05 +02:00
.Rprofile FARAC replication pipeline 2026-06-29 23:12:05 +02:00
_targets.R FARAC replication pipeline 2026-06-29 23:12:05 +02:00
_targets.yaml FARAC replication pipeline 2026-06-29 23:12:05 +02:00
LICENSE FARAC replication pipeline 2026-06-29 23:12:05 +02:00
README.md FARAC replication pipeline 2026-06-29 23:12:05 +02:00
renv.lock FARAC replication pipeline 2026-06-29 23:12:05 +02:00

FARAC — replication pipeline

Reproducible targets pipeline that builds the Far-Right Activism (FARAC) dataset — a county-level integration of German far-right music events, protests, and violence, harmonized to 2024 administrative boundaries, 2013–2024.

  • Generated dataset (output): Zenodo, https://doi.org/10.5281/zenodo.21041488 (CC-BY 4.0). The released CSVs, GeoPackage, and codebooks live there; this repository contains only the code that produces them.
  • Data Descriptor: Lang, M. & Mayer, L. Far-right music events, protests, and violence: a county-level dataset for Germany, 2013–2024. (under review).
  • Code license: MIT (see LICENSE).

What is here

Path Contents
_targets.R the pipeline definition (entry point)
_targets.yaml targets configuration
R/ all loader and processing functions, sourced by _targets.R
renv.lock, renv/activate.R, .Rprofile pinned package environment

Raw input data are not included (not all are redistributable; see provenance below). The pipeline regenerates the released dataset from the raw inputs.

Requirements

  • R (version per renv.lock).
  • A Java JDK — required by tabulapdf to extract tables from the parliamentary-response PDFs. Install a JDK and ensure JAVA_HOME is set (e.g. via the rJavaEnv package) before running.

Reproduce

# 1. Restore the pinned package environment
renv::restore()

# 2. Place the raw inputs under data/raw/ (see layout below)

# 3. Build the dataset
targets::tar_make()

Outputs are written under data/final/.

Expected data/raw/ layout

Create a data/raw/ directory with one subfolder per source:

data/raw/
├── musikveranstaltungen_der_extremen_rechten/   # Bundestag DIP responses, far-right music events
├── rechtsextreme_aufmaersche/                    # Bundestag DIP responses, far-right marches/protests
├── kanol_knoessel_maaß/                          # Kanol et al. protest database (GESIS doi:10.7802/2774)
├── bundesinstitut_für_bau_stadt_raumforschung/   # INKAR population/area (BBSR)
├── bundesamt_fuer_kartographie_und_geodaesie/    # BKG VG5000 2024 county boundaries
├── statistisches_bundesamt/                       # official violence / reference figures
├── acled/  arvig/  crex/  farpo/  cfp/            # comparison datasets (positioning only)

Exact filenames, URLs, DOIs, and search queries for every source are documented in the manuscript's Methods ("Data sources and provenance"). Counseling-center violence figures are public aggregate statistics encoded directly in the relevant R/ loaders, so they need no raw files.

Citation

Cite the dataset via its Zenodo DOI:

Lang, M. & Mayer, L. (2026). FARAC — Far-Right Activism in Germany, 2013–2024 [Data set]. Zenodo. https://doi.org/10.5281/zenodo.21041488