Skip to main content

Data Aggregator

Category: Transform

Group and aggregate data with sum, avg, count, min, max operations

What this node does

  • Group by multiple fields
  • Sum/avg/count/min/max
  • Nested aggregations

How to use

  1. In the Hydra Builder, open or create a workflow
  2. In the node palette on the left, find Data Aggregator under the Transform category (or use the search bar)
  3. Drag the node onto the canvas
  4. Double-click the node to open its configuration dialog
  5. Fill in the required parameters (see Configuration below)
  6. Connect the Input Data and Group By Field and Aggregation Operations input port from an upstream node
  7. Connect the Aggregated Results output to the next node downstream

Inputs

PortTypeRequiredDescription
Input DataarrayA list of items
Group By FieldtextPlain text string
Aggregation OperationsarrayA list of items

Outputs

PortTypeDescription
Aggregated ResultsarrayA list of items

Configuration

Open the configuration dialog by double-clicking the Data Aggregator node on the canvas.

ParameterWhat to enter
groupByConfigure groupBy in the node settings
aggregationsConfigure aggregations in the node settings
sortByConfigure sortBy in the node settings

When to use this node

  • Sum vitals by patient
  • Average lab values
  • Count encounters by department

Need help configuring this node?

Go to Settings → Connectors to set up the connection this node depends on, then reference the connector ID in the node configuration dialog.