tm1_delete_element: TM1 Delete Element or Component

Description Usage Arguments Examples

View source: R/tm1_delete_element.R

Description

Deletes element or component from dimensions

Usage

1
2
tm1_delete_element(tm1_connection,
  dimension, element, parent="")

Arguments

tm1_connection

tm1 connection object returned by the function tm1_connection

dimension

Name of dimension

element

Name of element

parent

Name of parent of element. If parent is specified, component delete will be done. If parent is omitted, element will be deleted from dimension

Examples

1
2
3
4
5
6
7
8
## Not run: 
tm1_delete_element(tm1_connection("localhost", "8881", "admin", "apple"),
"month", "test", "Year")

con_obj <- tm1_connection("localhost", "8881", "admin", "apple")
tm1_delete_element(con_obj, "month", "test")

## End(Not run)

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