stwide_to_numeric: Encode party of statewide offices in South Carolina

View source: R/code_candidates.R

stwide_to_numericR Documentation

Encode party of statewide offices in South Carolina

Description

Recode each year's statewide elections to numeric by hand. Because we know these were on the ballot for everyone, numeric codes can be determined as a 0

Usage

stwide_to_numeric(tbl, year)

Arguments

tbl

wide table with columns like GOV0000.

year

year of general election


kuriwaki/ballot documentation built on May 1, 2023, 9:55 p.m.