Learn R Programming

RSiteCatalyst (version 1.4.16)

GetSegments: Get Segments Defined within a Report Suite

Description

Get a data frame of segments for the specified report suites. Useful to find segment IDs for use in reporting helper functions or JSON report definitions.

Usage

GetSegments(reportsuite.ids)

Arguments

reportsuite.ids

Report suite id (or list of report suite ids)

Value

Data frame

Details

This function requires having a character vector with one or more valid Report Suites specified.

Examples

Run this code
# NOT RUN {
segments <- GetSegments("your_report_suite")

segments2 <- GetSegments(report_suites$rsid)
# }

Run the code above in your browser using DataLab