Script

Prev Next

Description

A Script Source node imports data through a script.


Configuration Options

Basic Configuration Options

Setting Description\Parameters
Script Type The scripting language. R or Python.
Script The script to run. Any code should be placed in the section denoted by "#Place your code here". This node expects a dataframe assigned to frame at the end of this section.

Advanced Configuration Options

Setting Description
Column Data Type This setting can be overridden.

Node Specific Snippets

Setting Description
Script Snippets Typing @R (R) or @P (Python) within the script editor prompts the user for several node-relevant snippets.
Parameters Typing # within the script editor prompts the user for a list of available parameters.
@output_path The output path notation is a string representation of the output file for the scripting node.
@path('/home/other') The path notation can be used to reference DataWORQ virtual paths. This notation will convert the virtual path to the physical path upon execution.

Actions

Action Description
Infer Data Types Automatically infer the data types used for each column. These data types can be overridden in the advanced section.
Preview Once the node is configured, the source data can be previewed at any time.