slugify | R Documentation |
Slugify a string to remove characters that can cause problems
slugify(x, non_alphanum_replace = "", space_replace = "_", tolower = TRUE)
x |
a string |
non_alphanum_replace |
character to replace non-alphanumeric characters (Default: "") |
space_replace |
character to replace spaces (Default: "_") |
tolower |
boolean, run towlower()? (Default: TRUE) |
a string with replacements
slugify("HELLO WORLD!!!") slugify("HELLO+WORLD", non_alphanum_replace="_")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.