Skip to main content
ValueDescription
sumAdd up all values.
meanTake the mean - average - of all values.
maxTake the maximum value.
minTake the minimum value.

Aggregate a dataset over a resolution window and apply a function.

aggregation_function
enum<string>
required

Aggregation function to apply.

Available options:
sum,
mean,
max,
min
input
Dataset · object
required

Dataset to aggregate

Example:
{
"id": "quarter-hourly-energy-offtake",
"resolution": "quarter_hourly",
"unit": "kWh"
}
output
Dataset · object
required

Output Dataset, the result of applying the specified aggregation function to the input dataset in windows of the given resolution

Example:
{
"id": "quarter-hourly-energy-offtake",
"resolution": "quarter_hourly",
"unit": "kWh"
}
resolution
enum<string>
required

Window over which to aggregate.

Available options:
quarter_hourly,
hourly,
daily,
weekly,
monthly,
yearly
type
string
default:aggregate
Allowed value: "aggregate"