R/clean_strings.R
clean_strings.Rd
Clean strings so that they can be used as variable names or column names
clean_strings(string, treat_dups = TRUE)
A "cleaned" string character vector.
clean_strings(c("Respondent ID","Q23. Brand Awareness"))
#> [1] "respondent_id" "q23_brand_awareness"