Description Usage Arguments Value See Also
Transform a character vector into a snake case representation.
First, separate camelCase and alphanumeric boundaries into spaces
Second, split pieces by symbols or spaces
Third, convert all alpha to lower with str_to_lower
Finally, collapse with "_"
1 | str_case_snake(x_chr)
|
x_chr |
character vector |
x_snake character vector with same length as x_chr, but snake format
Other str_case: str_case_title
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.