- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
The categorical-matrix parser will load data from multiple rows and columns from a source data table into categorical variables within collections.
It inherits attributes and data loading behaviors from the abstract matrix parser type.
Example
{
"parser_type": "categorical-matrix",
"collection": "collection_name",
"variable": "variable_name,
// The parser does all the work to load the data into a single
// collection with multiple variables. These will then be converted
// into a matrix in post-processing.
"parser": {
"parser_type": "categorical-row",
"variable": {
"parser_type": "categorical",
"column": "row_header_column_name"
},
"indicator": "1"
}
}
Was this article helpful?