To Proper
Arguments
- string
string to manipulate on
- replace_underscores
Logical: if
TRUE
replaces all underscores with specifiedunderscore_replacement
argument's value.- underscore_replacement
Character: if argument
replace_underscores
equalsTRUE
, will replace all "_"'s with specified string.- return_as
How should the string be returned? Options are:
"titlecase": Applies
stringr::str_to_title
."uppercase": Applies
toupper
."lowercase": Applied
tolower
."asis": No manipulation. Returns as is.
- uppers
Abbreviations to keep upper-case.