Scripting

Overview

Scripting can be used to create transformations and analytics from datasets, as well as to add dynamic behaviour to davinci page. The following tools are the primary tools used to create and edit scripts.

Transformations

ONe of the primary uses of scripting is to create data transformations. Data is retrieved from the desktop using the $val function. Then, a transformation can be applied to the data. The new dataset can be placed back to the desktop using the $val.set method.

Note that when a transformation is created, the script will run when it is initially run and saved, however, the script will be re-run whenever one of the data dependencies that it depends on changes.

Demos

Scripting
Scripting
A basic description of scripting on the platform.
Accessing Data
Accessing Data
Describes how you get access to data from within a script.
Transformations
Data Transformations
How data is transformed in your desktop or page.

Contents