locations_metric.Rd
Gives information grouped by country
locations_metric(code, filter, file = NULL, save = FALSE, truncateAt = NULL)
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". This takes the top countries based on the volume of mentions from the site. |
A tibble of your data
locations_metric("QUIR01BA", "published inthelast week and brand isorchildof 10006")#> # A tibble: 10 x 8 #> count engagement netSentiment ots id country netSentimentPe… percentage #> <dbl> <dbl> <dbl> <dbl> <chr> <chr> <dbl> <dbl> #> 1 12 4 6 8984 <NA> Unknown 0.5 0.387 #> 2 5 0 1 9567 US United… 0.2 0.161 #> 3 4 0 0 44 SE Sweden 0 0.129 #> 4 2 1 0 12723 ZA South … 0 0.0645 #> 5 2 0 0 70000 KR South … 0 0.0645 #> 6 2 0 0 0 AE United… 0 0.0645 #> 7 1 0 0 2374 IT Italy 0 0.0323 #> 8 1 0 0 1554 GR Greece 0 0.0323 #> 9 1 0 0 30 GB United… 0 0.0323 #> 10 1 0 0 0 TH Thaila… 0 0.0323