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 exaggerated is present. This function is intended for use on any of the clickbait MEA datasets.
1 |
text |
string/ headline |
1 2 3 | headlines_exaggerated <- headlines %>%
mutate(has_exaggerated_phrase =
has_exaggerated_phrase(text = title))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.