Description Usage Arguments Examples
Send data to a cube, Supports up-to 10 dimension for now
1 2 3 4 5 | tm1_send_dataset(tm1_connection, valueset, cube, rowdim, coldim,
titledim1, titleel1, titledim2, titleel2,
titledim3, titleel3, titledim4, titleel4,
titledim5, titleel5, titledim6, titleel6,
titledim7, titleel7, titledim8, titleel8)
|
tm1_connection |
tm1 connection object returned by the function tm1_connection |
valueset |
data frame or matrix object holding values you want to send to cube |
cube |
Name of a cube as a string |
rowdim |
Corresponding dimension of the elements on row |
coldim |
Corresponding dimension of the elements on column |
titledim1 |
Name of dimension in title |
titleel1 |
Element of dimension in corresponding titledim |
titledim2 |
Name of dimension in title |
titleel2 |
Element of dimension in corresponding titledim |
titledim3 |
Name of dimension in title |
titleel3 |
Element of dimension in corresponding titledim |
titledim4 |
Name of dimension in title |
titleel4 |
Element of dimension in corresponding titledim |
titledim5 |
Name of dimension in title |
titleel5 |
Element of dimension in corresponding titledim |
titledim6 |
Name of dimension in title |
titleel6 |
Element of dimension in corresponding titledim |
titledim7 |
Name of dimension in title |
titleel7 |
Element of dimension in corresponding titledim |
titledim8 |
Name of dimension in title |
titleel8 |
Element of dimension in corresponding titledim |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## Not run:
sdata <- tm1_connection("localhost", "8881", "admin", "apple")
#valueset
# Argentina Brazil
#Jan 1 2
#Feb 3 4
tm1_send_dataset(
sdata,
valueset = valueset, cube = "SalesCube",
rowdim = "month", coldim = "region",
titledim1 = "actvsbud", titleel1 = "Actual",
titledim2 = "model", titleel2 = "L Series 1.6 L Convertible",
titledim3 = "account1", titleel3 = "Units")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.