Description Usage Arguments Value Examples
Checks for offensive words in strings
1 2 | offensive_check_string(text, n_output = 2, words_add = character(),
words_ignore = character())
|
text |
A string of words. |
n_output |
Number of surrounding words to display. |
words_add |
Character. Words to look for. |
words_ignore |
Character. Words to ignore. |
Displays offensive words and their surrounding words.
1 2 3 4 5 6 7 8 | text <- "This will be hard to asses, butt I think we will manage."
offensive_check_string(text)
offensive_check_string(text, n_output = 4)
offensive_check_string(text, words_add = "will")
offensive_check_string(text, words_ignore = "butt")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.