Aggregate
GROUP BY with aggregates, one per line: name = count(), total = sum(pop).
Syntax
{ "id": "n1", "op": "aggregate", "name": "aggregate", "x": 0, "y": 0, "params": {} }
An edge into it ends at "targetPort": "in"; one out of it starts at "sourcePort": "out".
Inputs
| Port | Type | Takes |
|---|---|---|
in | table | one edge |
Parameters
| Parameter | Kind | Default | Choices |
|---|---|---|---|
groupBy | string | "" | |
aggs | code | "n = count()" |
Outputs
| Port | Type |
|---|---|
out | table |
Details
- Category: Tables
- Operator:
aggregate