std_text | R Documentation |
Implements the following transformations:
standardize case (base::tolower
)
remove diacritic/accent characters (stringi::stri_trans_general
)
remove sequences of space or punctuation characters at start or end of string
replace repeated whitespace characters with a single space
std_text(x)
x |
A vector of strings |
The standardized version of x
std_text(c("CONFIRMED", "Conf.", "confirmed"))
std_text(c("R\u00e9publique d\u00e9mocratique du Congo", "Nigeria_"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.