Transformation Scripts
Overview
You can use the Script feature in transformations, as in the following example:

Each script has a text-based, statement-oriented syntax. Scripts create Statements, which operate on one dataset at a time. Each statement produces a new dataset from the current dataset. Statements may change the shape of the dataset. Statements can be composed of Expressions, which operate on attributes of the dataset.
When working with long scripts, it is useful to expand the script box to open a much larger editing area. To go back to the original area, choose Collapse
.

Keyboard Shortcuts
Toggle Comments
Use Cmd
+ /
or Ctrl
+ /
to quickly comment or uncomment lines of code.
Get More Information About Attributes or Functions
Hover on attributes to view their data types, and hover on functions to view their signature.
Additionally, If you want more information about a function, Cmd
+ click
or Ctrl
+ click
on the function to open detailed function documentation in a new tab.
Updated over 5 years ago