Skip to content

Roots colect() Function

Dan Kranz edited this page Nov 21, 2020 · 12 revisions

Group sorted list items. Returns the number of groups. The group and nextLine arrays will identify the groupings.

Syntax

Roots.colect(list, compareFunc, sortColumns, first, nextLine, group)

Parameter Values

Parameter Description
list The dataset being grouped
compareFunc User supplied compare function
sortColumns Dataset columns to group by (type Array)
first First line number of the sorted dataset (type Array)
nextLine Subsequent line numbers array
group Starting line of each group (type Array)
Clone this wiki locally