Step: Aggregate
Overview
Example starting data:
/*---------+------------+---------+--------*
| test | date | student | score |
+---------+------------+---------+--------+
| quiz | 2020-04-01 | jane | 83 |
| quiz | 2020-04-01 | pat | 35 |
| midterm | 2020-05-01 | jane | 74 |
| midterm | 2020-05-01 | pat | 62 |
*---------+------------+---------+--------*/Example output data
/*---------+-------------+---------------*
| test | date | average_score |
+---------+-------------+---------------|
| quiz | 2020-04-01 | 59 |
| midterm | 2020-05-01 | 68 |
*---------+-------------+---------------*/Step structure

Field definitions
Field
Description
Field
Description
Examples
Example 1: Basic collapse
Starting data:
Input fields:

Execution:
Output data:
Example 2: Multiple aggregation variables
Starting data:
Input fields:

Output data:
Example 3: Drop duplicates
Starting data:
Input fields:

Output data:
Last updated
Was this helpful?

