Returns the data for sentiment chart

sentiment_metric(code, filter, file = NULL, save = FALSE,
  useVerified = TRUE)

Arguments

code

An account code

filter

A filter for data

file

An optional file name to save a CSV file to

save

Set to TRUE if you'd like a dialog file to choose where to save your CSV

useVerified

Only use verified data for sentiment - set to TRUE by default

Value

A tibble of your data

Examples

sentiment_metric("QUIR01BA", "published inthelast week and brand isorchildof 10006")
#> # A tibble: 3 x 3 #> Sentiment Count Percentage #> <chr> <int> <dbl> #> 1 Negative 0 0 #> 2 Neutral 5 0.714 #> 3 Positive 2 0.286