tm1_create_element: TM1 Create New Element to a Dimension

Description Usage Arguments Examples

Description

Inserts a new element to the dimension

Usage

1
2
tm1_create_element(tm1_connection,
  dimension, element, parent="", weight=1)

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

Examples

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

muhammedalionder/tm1r documentation built on May 10, 2019, 1:19 a.m.