bwr_projects_get: Get Brandwatch project data

Description Usage Arguments Value Examples

View source: R/projects.R

Description

#' Read the Brandwatch documentation for this API call at https://developers.brandwatch.com/docs/retrieving-projects

Usage

1
bwr_projects_get(target = NULL, token = Sys.getenv("BW_TOKEN"))

Arguments

target

(Optional) the target for your query. If not specified, results will include all available projects for the authenticated user and all available data for each project. If 'summary', results will be a more simplified list of projects and excludes richer data such as query links.

token

The Brandwatch token, which will be automatically available via environment arguments provided you run bwr_auth() prior to any other functions.

Value

Returns a data frame of project data.

Examples

1
## Not run: my_projects <- bwr_get_projects(target = 'summary')

brandwatchR documentation built on May 1, 2019, 10:24 p.m.