Description Usage Arguments Value
View source: R/text_normalization.R
Normalize text data by removing accents, special characters, and normalizing whitespace. This can remove a lot of information from your strings.
1 2 3 |
x |
a character vector |
lowercase |
Decide whether or not to convert the text to lowercase |
remove |
is a character vector (or regex) of characters to remove entirely |
spaces |
is a character vector (or regex) of characters to convert to spaces |
remove_accents |
boolean, decide whether or not to remove accents |
trim |
boolean, trim the final string before returning |
a character vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.