Learn R Programming

tm1r (version 1.1.5)

tm1_get_element: 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

Run this code
# 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)
# }

Run the code above in your browser using DataLab