numeric-slice
creates: categorical variable
A numeric-slice data function produces a categorical variable. The categorical variable will be assigned based on whether the criterion, a numeric variable, satisfies the operator and value.
| attribute | type | description | options |
|---|---|---|---|
operator | string | a symbol denoting the comparative operation to perform | <<=>>==!= |
criterion | object | numeric data to evaluate | collectiondata_functionargument_reference |
value | numeric data | collectiondata_functionargument_reference |
{
"data_function_type": "numeric-slice",
"criterion": ...,
"operator": ">",
"value": #
}