Description Usage Arguments Value Author(s) Examples
Input the document-term data_frame and specify the key words
1 | search_key_words(df, key_words)
|
df |
The document-term data_frame output from create_DTM |
key_words |
A list of key words |
A subset of the input document-term data frame with only the documents containing the key words
Jiacheng He
1 2 | search_key_words(text, list("Trump"))
search_key_words(text, list("lgbt", "gunman", "killer"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.