--- title: "categorical-row" slug: "categorical-row-parser" updated: 2022-07-27T17:29:47Z published: 2022-07-27T17:29:47Z canonical: "code.tag.bio/categorical-row-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-row The *categorical-row* **parser** will load data from one or more rows from a source data table into categorical **variables** within **collections**. It inherits attributes and data loading behaviors from the abstract *row* **parser** type. ## Attribute - indicator The *indicator* attribute is optional. It specifies a value which will indicate that an entity should be included in the generated **variable** for that row. ``` { "parser_type": "categorical-row", "collection": "collection_name", "variable": {...}, "indicator": "1" } ``` ## Attribute - map The *map* attribute is optional. It can be used as an alternative to using the *variable* attribute. **Variable** names will be created from the values within each row. ``` { "parser_type": "categorical-row", "collection": "collection_name", "map": { "1": "XXXX", "0": "YYYY", } } ``` ## Attribute - value The *value* attribute is optional. It can be used as an alternative to using the *variable* attribute. It specifies a constant value which will become the **variable** name. ``` { "parser_type": "categorical-row", "collection": "collection_name", "value": "Is in dataset" } ```