Hi,
datasets are executed at the beginning of the document’s execution so that data.frames can be used further by every script.
Let's assume you added two datasets as input, and one dataset as output.
Input:
- SALES_BY_PROD_PROM_14
- SALES_BY_PROD_PROM
Output
You can use the input datasets as if they are loaded into dataframe. Same applies for the output, you can assign a dataframe to the output dataset by using its label.
Example
mydataframevar <-SALES_BY_PROD_PROM_14 // assign Knowage dataset to mydataframevar
myseconddataframevar <-SALES_BY_PROD_PROM // assign Knowage dataset to mydataframevar
// do something with my data frames
DS_FORECAST <- data.frame(args) // assign the resulting dataframe to the output Knowage dataset