tm1_get_element {tm1r}R Documentation

TM1 Get Element of a Dimension

Description

Gets element detail of a dimension. Name, UniqueName, Type, Level, Index, and Components. element or index should be specified

Usage

tm1_get_element(tm1_connection, dimension, element="", index = 0)

Arguments

tm1_connection

tm1 connection object returned by the function tm1_connection

dimension

Name of a dimension as a string

element

Name of element as a string

index

Index of element as a numeric

Examples

## Not run: 
tm1_get_element(
tm1_connection("localhost", "8881", "admin", "apple"),
"month", "Year")

con_obj <- tm1_connection("localhost", "8881", "admin", "apple")
tm1_get_element(con_obj, "month", "", 7)

## End(Not run)

[Package tm1r version 1.1.8 Index]