--- title: "categorical-map" slug: "categorical-map-parser" updated: 2022-09-11T17:10:44Z published: 2022-09-11T17:10:44Z canonical: "code.tag.bio/categorical-map-parser" --- > ## Documentation Index > Fetch the complete documentation index at: https://code.tag.bio/llms.txt > Use this file to discover all available pages before exploring further. # categorical-map 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.