getVariableInfo: getVariableInfo

Description Usage Arguments Value See Also Examples

Description

List all columns for a specific table.

Usage

1
2
3
4
getVariableInfo(table.object, vars = c("id", "tableColumnTypeId",
  "columnName", "name", "summable", "required", "showInUI", "unique",
  "presentationDefault", "aggregationTypeId", "presentationTypeId",
  "decimalPlaces", "description"))

Arguments

table.object

output from getTableConfiguration function

vars

info to download (column names of the output dataframe). Default variables are c('id', 'tableColumnTypeId', 'columnName', 'name'). Additional variable names are c('summable', 'required', 'showInUI', 'unique', 'presentationDefault', 'aggregationTypeId', 'presentationTypeId', 'decimalPlaces', 'description')

Value

R data frame containing one row per variable in the table.

See Also

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

Examples

1
2
3
4
5
6
username <- "demo.user@demoanametrix.com"
password <- "password"
if (!authenticationCheck(auth)) 
auth <- authenticate("https://demo.anametrix.com/api", username, password)
browser.table  <- getTableConfiguration(auth, 10385, "Browsers")
variable.df <- getVariableInfo(browser.table)

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