getSegmentInfo: getSegmentInfo

Description Usage Arguments Value See Also Examples

Description

List all the segments for a specific datasuite

Usage

1
getSegmentInfo(auth, report.suite.id)

Arguments

auth

Authentication instance. result of authenticate function

report.suite.id

ID number (as numeric or character) of datasuite. Can be obtained using the function getDatasuiteInfo (column d.s.id)

Value

R data frame containing one row per segment with segment id, segment name and the datasuite id (reportSuiteId)

See Also

Other metadata functions: getAccountInfo, getDatasuiteInfo, getDetailedInfo, getReplacementNames, getTableInfo, getVariableInfo

Examples

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)

anametrix documentation built on Jan. 15, 2017, 3:13 p.m.