Filter¶
The "filter"
transform removes data objects based on a predicate
expression.
Parameters¶
expr
Required-
Type: string
An expression string. The data object is removed if the expression evaluates to false.
Example¶
{
"type": "filter",
"expr": "datum.p <= 0.05"
}
The example above retains all rows for which the field p
is less than or
equal to 0.05.