- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
The numeric-row parser will load data from one or more rows from a source data table into numeric variables within **collections.
It inherits attributes and data loading behaviors from the abstract row parser type - and it also inherits attributes from the numeric parser type, e.g. merge.
The numeric variables produced will be named after the row headers.
Attribute - operator
The operator attribute is optional.
{
"parser_type": "numeric-row",
"collection": "collection_name",
"variable": {...},
// This is a numeric operator which will transform values
// parsed from each row before loading them into
// variables
//
// See column parser - numeric-transform for options
//
"operator": "log"
}
Attribute - constant
The constant attribute is optional. If used, the operator attribute becomes required.
{
"parser_type": "numeric-row",
"collection": "collection_name",
"variable": {...},
"operator": "*",
// This is a constant to apply in conjunction with the operator
// to values parsed from each row
//
// For example, this will multiple all values by 10
//
"constant": 10
}
Was this article helpful?