tm1_get_element: TM1 Get Element of a Dimension

Description Usage Arguments Examples

View source: R/tm1_get_element.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
9
## 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)

tm1r documentation built on Dec. 15, 2020, 5:36 p.m.