tm1_create_element {tm1r} | R Documentation |
TM1 Create New Element to a Dimension
Description
Inserts a new element to the dimension
Usage
tm1_create_element(tm1_connection,
dimension, element, parent="", weight=1, type="Numeric")
Arguments
tm1_connection |
tm1 connection object returned by the function tm1_connection |
dimension |
Name of dimension |
element |
Name of new element |
parent |
Name of parent of new element. Leave bland if there is no parent. |
weight |
Weight of the element as a component to the parent. Default is 1 |
type |
type of element; Numeric, String or Consolidated. Default is Numeric |
Examples
## Not run:
tm1_create_element(tm1_connection("localhost", "8881", "admin", "apple"),
"month", "test", "Year")
con_obj <- tm1_connection("localhost", "8881", "admin", "apple")
tm1_create_element(con_obj, "month", "test", "Year")
## End(Not run)
[Package tm1r version 1.1.8 Index]