filter_mentions: Filter for only specific mentions

Description Usage Arguments Value Data models See Also Examples

View source: R/filter_language.R

Description

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

Usage

1

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

1
2
account("TEST01AA") %>%
  filter_mentions("published inthelast week")

brandseye/brandseyer2 documentation built on Sept. 5, 2021, 2:15 p.m.