Get V1 sentiment from specified domains

ft_urls_sentiment(
  domains = c("nytimes.com", "washingtonpost.com"),
  visualization = TRUE,
  term = NA,
  last_minutes = NA,
  is_tone = T,
  tone_less_than = NA,
  tone_more_than = NA,
  source_language = NA,
  sort_by = "date",
  dedeup_results = T,
  nest_data = F,
  return_message = T
)

Arguments

domains

vector of domain names

visualization

if `TRUE` returns a ggplot2 visualization

term

specific term

last_minutes

how long

is_tone

use tone

tone_less_than

tone minimum

tone_more_than

tone maximum

source_language

vector search language

sort_by

sort by

dedeup_results

if `TRUE` dedupes results

nest_data

if `TRUE` returns nested data frame

return_message

if `TRUE` returns a messaage

Value

a `tibble` or a ggplot visualiation

Examples

ft_urls_sentiment(domains = c("foxnews.com", "cnn.com", "washingtonpost.com"), term = "Donald Trump", visualization = T)