Rename RDH election-result columns into a more uniform
office_year_party_candidate style.
Arguments
- data
sftibble fromread_rdh().- year
Election year for district columns without a year, like
GCON01DMRV. IfNULL, inferred from the other columns.
Examples
if (FALSE) { # \dontrun{
shp <- read_rdh('in_2024_gen_prec.zip', clean_names = FALSE)
shp <- clean_rdh(shp)
} # }
