tm1_delete_element {tm1r}R Documentation

TM1 Delete Element or Component

Description

Deletes element or component from dimensions

Usage

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

## 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)

[Package tm1r version 1.1.8 Index]