Skip to main content

Convert Case

Change the letter case of text values.

Use convert.case to normalize capitalization while keeping the source column or writing the result to a new column.

Behavior​

  • Supported modes are lower, upper, title, and sentence.
  • Omitting output overwrites the input column.
  • Input and output lists must have equal lengths.
  • Non-string values are passed through unchanged and produce a warning.

Parameters​

NameDescriptionAccepted ValuesDefaultRequired
I/O
inputName, index, or list of input columns.string, integer, array—Yes
outputName or list of output columns. If omitted, each input column is overwritten.string, arraynullNo
Options
caseLetter case to apply. Sentence case lowercases the value and capitalizes sentence starts.string; one of:
  • lower
  • upper
  • title
  • sentence
"lower"No
Conditions
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
ifCondition that determines whether the wrangle runs as a whole. Recipe variables may be referenced with ${variable}.string—No

Examples​

wrangles:
- convert.case:
input: product
output: product_upper
case: upper
product
Cordless Drill
bearing seal
product_upper
CORDLESS DRILL
BEARING SEAL
Access
RequirementValue
AI-poweredNo
Requires WrangleWorks accountNo
Requires subscriptionNo
Requires external API keyNo
Technical details
FieldValue
Catalog ID5
Catalog keyconvert.case
Recipe keyconvert.case
Catalog statusactive
Lifecycle statusactive
Recipe Writer eligibleYes
Namespaceconvert
Documentation groupconvert
AliasesNone
Runtime symbolwrangles.recipe_wrangles.convert.case
Legacy UUID12ff4120-3613-4801-8653-99c793477fbc

Sources