View source: R/text_analysis.R
has_word | R Documentation |
Function to tally cases with and without a particular words
has_word( the_dataframe, contains_words, text_col = "ocr", results_col = "EV_article" )
the_dataframe |
the dataframe with a text column and a results column |
contains_words |
the word (or other regex) to search for |
text_col |
the column containing the text |
results_col |
the column containing the classification |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.