View source: R/format_values.R
std_sc_solicit | R Documentation |
Standardize solicitor contest with district number, based on county
std_sc_solicit(vec, is_solicit, county, data = sc_counties)
vec |
a character vector that contains some solicitor district values |
county |
A vector of strings, south carolina counties. |
data |
A data that matches counties to solicitor district keys. Provided in package. |
is_solicitor |
a logical vector of the same length as |
raw <- c("Solicitor Circuit District 14", "Solicitor 10th Circuit", "County Council")
is_solicit <- c(TRUE, TRUE, FALSE)
county <- c("Anderson", "Jasper", "Charleston")
std_sc_solicit(raw, is_solicit, county)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.