stats_metric.RdGets the 'stats metric' for a given filter
stats_metric(code, filter, file = NULL, save = FALSE)
| 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. |
A tibble of your data
stats_metric("QUIR01BA", "published inthelast week and brand isorchildof 10006")#> Metric Value #> 1 Volume 31 #> 2 Authors 18 #> 3 OTS 105276 #> 4 Engagement 5 #> 5 Sites 7 #> 6 Verified Sample 7 #> 7 Positive 2 #> 8 Neutral 5 #> 9 Negative 0 #> 10 Positive % 28.6% #> 11 Neutral % 71.4% #> 12 Negative % 0%