View source: R/format_values.R
std_sc_first | R Documentation |
Standardize contest with first letter after code
std_sc_first(vec, use, code_regex, code_replace)
vec |
a character vector that contains some values to be used in code |
use |
a logical vector of the same length as raw <- c("CSB West Ashley", "CSB East Cooper", "County Council") use <- c(TRUE, TRUE, FALSE) std_sc_first(raw, use, "CSB ", "SCH") |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.