with_mention_fields: Select extra data when fetching or counting mentions

Description Usage Arguments Value See Also Examples

View source: R/filter_language.R

Description

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.

Usage

1
with_mention_fields(.account, ..., .envir)

Arguments

.account

An account or query() object.

...

The fields to order by.

.envir

An environment to perform substitutions in.

Value

A query() object

See Also

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.

Examples

1
2
3
account("TEST01AA") %>%
  filter_mentions("published inthelast week") %>%
  with_mention_fields(mentionCount, totalOTS)

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