Description Usage Arguments Value Examples
Refer to https://developers.brandwatch.com/docs/creating-categories for more information. Unless otherwise specified, provide a single string argument.
1 2 | bwr_cat_create(project_id = NULL, name = NULL, children = NULL,
token = Sys.getenv("BW_TOKEN"))
|
project_id |
The project ID into which you'd like to insert a category |
name |
The name of the category |
children |
A list of lists (sorry!), each list defining the key-value pairs for name (mandatory) and id (optional) of each child subcategory. |
token |
The authentication token, obtained using bwr_auth() |
Returns a list containing the JSON response from the server.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.