Skip to content

Concatenate Rule (concatenate) ​

Concatenates text strings from one or more columns in the dataset to create a new string.

FieldDescriptionRequired
templateTakes a string template containing source column references to build a new value.βœ… Yes
delimiterAn object containing the characters to use as delimiters in the template to define source column names.βœ… Yes (default: '{' '}')
valueThe template value used to build concatenated values.βœ… Yes
destination_columnThe column where concatenated value is copied. Can be an existing or new column.βœ… Yes

Example: ​

json
{
  "description": "Concatenate treatment, dose and study day",
  "type": "concatenate",
  "template": {
    "delimiter": {
      "start": "{",
      "end": "}"
    },
    "value": "{trta} - {dose} mg - {day}"
  },
  "destination_column": "treatment"
}

Behavior: Combines trta, dose and day column values into new template string value and copies to the treatment column.

subjecttrtadosedaytreatment
1SAD Cohort 1501SAD Cohort 1 - 10 mg - Day 1
1SAD Cohort 1502SAD Cohort 1 - 50 mg - Day 2
1SAD Cohort 11003SAD Cohort 1 - 100 mg - Day 3