bwr_projects_get {brandwatchR}R Documentation

Get Brandwatch project data

Description

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

Usage

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

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

[Package brandwatchR version 0.3.0 Index]