categorical-map

Prev Next

The categorical-map parser will load data from a column in a source data table and map values to other values before producing categorical variables within a collection.

{
  "parser_type": "categorical-map",
  "table_alias": "tata",
  "column": "ccc1",
  "map": {
    "input_value1": "output_value1",
    "input_value2": "output_value2",
    ...
  },
  "collection": "collection_name"
}


map

usage: required
The map attribute contains an object mapping input data values to output data values.