Enables the creation of a new tag and applies the new tag to the passed component
tags_add(
company_id = Sys.getenv("AW_COMPANY_ID"),
componentId = NULL,
componentType = NULL,
tagNames = NULL,
overwrite = FALSE,
debug = FALSE
)
Company ID. If an environment variable called AW_COMPANY_ID
exists in .Renviron
or
elsewhere and no company_id
argument is provided, then the AW_COMPANY_ID
value will be used.
Use get_me
to get a list of available company_id
values.
The component id being requested. Default is NULL
The component type being requested. Options include segment, dashboard, bookmark, calculatedMetric, project, dateRange, metric, dimension, virtualReportSuite, scheduledJob, alert, classification. Default is NULL
Comma separated vector of tag names.
Overwrite the existing tag names on a component. To append a new tag name use FALSE (default). To overwrite the existing tags on a component use TRUE.
Include the output and input of the api call in the console for debugging. Default is FALSE
A data frame of segments and their meta data.