Description Usage Arguments Value See Also Examples
List all the segments for a specific datasuite
1 | getSegmentInfo(auth, report.suite.id)
|
auth |
Authentication instance. result of |
report.suite.id |
ID number (as numeric or character) of datasuite. Can be obtained using the function |
R data frame containing one row per segment with segment id, segment name and the datasuite id (reportSuiteId)
Other metadata functions: getAccountInfo
,
getDatasuiteInfo
,
getDetailedInfo
,
getReplacementNames
,
getTableInfo
, getVariableInfo
1 2 3 4 5 | username <- "demo.user@demoanametrix.com"
password <- "password"
if (!authenticationCheck(auth))
auth <- authenticate("https://demo.anametrix.com/api", username, password)
segment.df <- getSegmentInfo(auth, 10385)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.