Description Usage Arguments Value Examples
Normalise provided string by : 1. removing extra spaces ([stringr::str_squish()]) and [trimws()]) 2. passing the string to lower case ([tolower()]) 3. removing all accents ([stringi::stri_trans_general()]), with id = "Latin-ASCII") 4. removing other special characters ('[-',.()/ ]') and replacing with '_'
1 | normalise_string(string)
|
string |
character string to be normalised. Accepts vectors too. |
normalise string
1 | normalise_string("Ã aF kgfk")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.