filter_mentions() causes counting and mention operations to occur on only those mentions matching the filter. This is part of the query() language.

filter_mentions(.account, filter)

Arguments

.account

An account or query() object.

filter

A filter string.

Value

A query object

Data models

The filter language often uses IDs to represent countries, languages, and so on. These can be found by using either the filter panel in Analyse, or the data model functions.

See also

Other verbs for the query language: group_mentions_by(), compare_mentions(), with_mention_fields(), with_mention_order(), with_account().

query() is a way to manually create queries.

Examples

account("TEST01AA") %>% filter_mentions("published inthelast week")
#> BrandsEye Query #> accounts: TEST01AA #> brands: TEST01AA:1[Your Brand Here], TEST01AA:2[Sibling Brand] #> timezones: Africa/Johannesburg #> filter: published inthelast week