-
Notifications
You must be signed in to change notification settings - Fork 0
Noodle PruneValues() Override
Dan Kranz edited this page Oct 7, 2021
·
3 revisions
Customize how Noodle selects rows by defining this function in a data object. See the base function for more details.
Usually, this function will only be defined if the data source is not an array.
The pruneData parameter is an object with the following properties:
- operation - prune operation; "value", "range", "scan", "mask", "regex", or "compare"
- bfi - Column index to select from; or for the compare operation, the two columns to compare.
- fx - Object key(s) of the selection column(s)
- values - Values to use in the selection process
- first - Starting row on input. Starting row of leftovers on output.
- match - Starting row of matches on output
- greaterthan - Starting row of greater than rows on output
- lessthan - Starting row of less than rows on output
- nextLine - Subsequent rows
The function should modify the appropriate pruneData lists to indicate the selected and non-selected data set rows.
PruneValues = function(pruneData)
Parameter | Description |
---|---|
pruneData | Object that specifies the desired prune operation |