Description Usage Arguments Examples
View source: R/clickbait_functions.R
This function takes in any string and returns a boolean indicating whether or not one of the phrases within the dataframe common is present. This function is intended for use on any of the clickbait MEA datasets.
1 |
text |
string/ headline |
1 2 | headlines_common <- headlines %>%
mutate(has_common_phrase = has_common_phrase(text = title))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.