Get V1 API sentiment for terms

ft_terms_sentiment(
  terms = c("Zika", "\"Golden State Warriors\""),
  visualization = NULL,
  domain = 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

terms

vector of terms

visualization

if `TRUE` returns a visualization

domain

vector of domain

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_terms_sentiment(terms = c("Zika", "Brooklyn Nets"), visualization = T)