phrases: Fetch phrases for an accounts and mentions

Description Usage Arguments Value Methods (by class) Note Author(s) Examples

View source: R/phrases.R

Description

Fetches phrase information, returned as a tibble, for the given account. All of this information is included in brands()

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## S3 method for class 'brandseyer2.account'
phrases(x, ...)

## S3 method for class 'list'
phrases(x, ...)

## S3 method for class 'data.frame'
phrases(x, ..., ac = attr(x, "account"))

phrases(x, ...)

Arguments

x

An object to read phrases from, such as an account() object, or a tibble of mentions.

...

Additional arguments for other methods.

ac

An optional account object from which to take phrase information.

Value

A tibble of phrase information.

Methods (by class)

Note

mentions() should be called with select = "phrases" to ensure that phrase information is returned with the mentions.

Author(s)

Constance Neeser

Examples

1
2
3
4
5
6
# Fetch phrases for a single account
account("TEST01AA") %>%
  phrases()

accounts(c("TEST01AA", "TEST02AA")) %>%
  phrases()

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