bwr_rule_get function

Get a data frame of available rules for a given project

Get a data frame of available rules for a given project

See the Brandwatch documentation for more information at https://developers.brandwatch.com/docs/retrieving-rules.

bwr_rule_get(project_id = NULL, token = Sys.getenv("BW_TOKEN"))

Arguments

  • project_id: The project id you'd like to return all available rules for. Obtain a data frame of projects using bwr_get_projects()
  • token: The auth token for this user, which should be generated into an environment variable using bwr_auth()

Returns

Returns a dataframe of rules matching the project. Due to the structure of the API response, some of the dataframe columns are list-columns (i.e. nested dataframes).

Examples

## Not run: my_rules <- bwr_rules_get(project_id = 12334534)
  • Maintainer: Donal Phipps
  • License: MIT + file LICENSE
  • Last published: 2018-08-13