getTableInfo: getTableInfo

Description Usage Arguments Value See Also Examples

Description

List all the tables for a specific datasuite

Usage

1
2
getTableInfo(auth, report.suite.id, vars = c("id", "name", "menuPath",
  "datasource", "tableName", "segmentable"))

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)

vars

info to download (column names of the output dataframe). tableName is the data warehouse name of the table, name is the name displayed in the UI.

Value

R data frame containing one row per table in the datasuite report.suite.id

See Also

Other metadata functions: getAccountInfo, getDatasuiteInfo, getDetailedInfo, getReplacementNames, getSegmentInfo, 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)
tables.df  <- getTableInfo(auth, report.suite.id = 10385)

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