Skip to main content

Prefix

Add a prefix to a column.

Parameters​

NameDescriptionAccepted ValuesDefaultRequired
I/O
inputName of the input column.string, integer, array—Yes
output(Optional) Name of the output column.string, array, nullnullNo
Options
valuePrefix value to add.string, integer, number—Yes
skip_emptyWhether to skip empty values.booleanfalseNo
Conditions
ifCondition that determines whether the wrangle runs as a whole. Recipe variables may be referenced with ${variable}.string—No
whereFilter rows before applying the wrangle using SQL-like criteria, such as column1 = 123 OR column2 = 'abc'.string—No
where_paramsValues used with where for parameterized criteria. Uses SQLite placeholder syntax such as ? or :name.array, object—No

Examples​

wrangles:
- format.prefix:
input: Data
output: Prefix
value: anti
Data
freeze
dote
hero
Prefix
antifreeze
antidote
antihero
Access
RequirementValue
AI-poweredNo
Requires WrangleWorks accountNo
Requires subscriptionNo
Requires external API keyNo
Technical details
FieldValue
Catalog ID33
Catalog keyformat.prefix
Recipe keyformat.prefix
Catalog statusactive
Lifecycle statusactive
Recipe Writer eligibleYes
Namespaceformat
Documentation groupformat
AliasesNone
Runtime symbolwrangles.recipe_wrangles.format.prefix
Legacy UUIDc12f99b9-2363-4da7-8405-7c73b87906e5

Sources