Description Usage Arguments Value Examples
View source: R/text_drop_keyword_responses.R
This function may be useful if you want to remove responses which mention a particular word or phrase. Note: this removes the whole response, not only the word itself - if you want to remove one word only, use the text_remove_words() function.
1 | text_drop_keyword_responses(data, text_col, keywords = c("insert_keywords"))
|
data |
data.frame containing all responses |
text_col |
column containing free text |
keywords |
responses containing any of these words will be removed. Not case-sensitive. |
data.frame with responses that match keywords removed
1 | text_drop_keyword_responses(dummy_response, colnames(dummy_response)[7], 'malesuada')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.