R/filter_language.R
with_mention_fields.Rd
with_mention_fields()
allows you to fetch additional data fields on mentions,
or to count additional fields when counting mentions. This is part of the
query()
language.
with_mention_fields(.account, ..., .envir)
.account | An account or |
---|---|
... | The fields to order by. |
.envir | An environment to perform substitutions in. |
A query()
object
Other verbs for the query language: group_mentions_by()
,
compare_mentions()
, filter_mentions()
, with_mention_order()
, with_account()
.
query()
is a way to manually create queries.
account("TEST01AA") %>% filter_mentions("published inthelast week") %>% with_mention_fields(mentionCount, totalOTS)#> BrandsEye Query #> accounts: TEST01AA #> brands: TEST01AA:1[Your Brand Here], TEST01AA:2[Sibling Brand] #> timezones: Africa/Johannesburg #> filter: published inthelast week #> fields: mentionCount, totalOTS