rdhte_dataset: Granzier-Pons-Tricaud Election Dataset for rdhte...

rdhte_datasetR Documentation

Granzier-Pons-Tricaud Election Dataset for rdhte Illustrations

Description

A working extract of the data used in Granzier, Pons, and Tricaud (2023, AEJ: Applied), distributed with the rdhte package as a fixed-format example dataset for the package vignette and worked examples. The running variable x is the candidate's first-round margin against the threshold for advancing to the runoff; y is an indicator for advancing.

Usage

data("rdhte_dataset")

Format

A data frame with 39,534 observations on the following variables.

y

Outcome: indicator (0/1) for advancing to the runoff.

x

Running variable: first-round margin against the qualifying threshold (the cutoff is at zero).

cluster_var

Cluster identifier (district).

w_left

Binary: 1 if the candidate's party is left of center, 0 otherwise.

w_ideology

Unordered categorical (4 levels): party ideology bucket.

w_strength

Continuous: candidate's average prior national-level vote share, used as a proxy for ex-ante candidate strength.

w_strong

Binary: above-median strength (w_strength).

w_strength_qrt

Ordered categorical (4 levels): quartile bucket of w_strength.

Source

Granzier, R., V. Pons, and C. Tricaud (2023). Coordination and Bandwagon Effects: How Past Rankings Shape the Behavior of Voters and Candidates. American Economic Journal: Applied Economics 15(4): 177-217.

Examples

data(rdhte_dataset)
str(rdhte_dataset)

rdhte documentation built on May 27, 2026, 1:06 a.m.