Returns data grouped by brand

brand_metric(code, filter, file = NULL, save = FALSE,
  truncateAt = NULL)

Arguments

code

The account code to use

filter

The filter for the 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

truncateAt

Optional number of results - rest will become "Others"

Value

A tibble of your data

Examples

brand_metric("QUIR01BA", "published inthelast week and brand isorchildof 10006")
#> # A tibble: 1 x 15 #> brand.id brand.name count percentage netSentiment netSentimentPer… #> <int> <chr> <int> <dbl> <int> <dbl> #> 1 10006 BrandsEye 31 1 7 0.226 #> # ... with 9 more variables: uniqueAuthors <int>, ots <int>, engagement <int>, #> # positiveSentiment <int>, positivePercent <dbl>, negativeSentiment <int>, #> # negativePercent <dbl>, neutralSentiment <int>, neutralPercent <dbl>