topics: Fetch topics for an account or tibble of mentions

Description Usage Arguments Value Methods (by class) Examples

View source: R/topics.R

Description

Fetches the topics that are used in an account, or those that appear on a tibble of mentions.

Usage

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

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

## S3 method for class 'data.frame'
topics(x, ..., ac = attr(x, "account"), na.rm = TRUE)

topics(x, ...)

Arguments

x

Objects to return topic data from.

...

Additional arguments for other methods.

ac

An optional account object from which to take topic information.

na.rm

Whether to remove mentions that have no topics.

Value

A tibble of topic information. Includes the name and topic description.

Methods (by class)

Examples

1
2
3
4
5
account("TEST01AA") %>%
  topics()

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

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