Derive
  • 06 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Derive

  • Dark
    Light

Article summary

Description

The Derive node is used to create new fields (columns) based on an existing field or formula in your dataset. The derive node performs its calculations using either the standard JavaScript language or regular expressions (regex) to script your new field.


Configuration Options

Basic Configuration Options

SettingDescription\Parameters
Column NameThe name of the new column to be created.
JavaScript or RegexToggle between these choices based on your requirements for the new derived field.
ScriptCraft your script, with JavaScript or regex, to define the new field.

Advanced Configuration Options

SettingDescription
Script SnippetsTyping @ within the script editor will prompt the user for a number of node relevant snippets.
ParametersTyping # within the script editor will prompt the user for a list of available parameters.

Actions

ActionDescription
PreviewAfter configuring the node, the source data can be previewed by clicking the Preview button.

Was this article helpful?

What's Next