{
"aggregation_function": "sum",
"input": {
"id": "energy",
"resolution": "hourly",
"unit": "kWh"
},
"output": {
"id": "monthly-energy",
"resolution": "monthly",
"unit": "kWh"
},
"resolution": "monthly",
"type": "aggregate"
}Functions
Function: Aggregate
| Value | Description |
|---|---|
sum | Add up all values. |
mean | Take the mean - average - of all values. |
max | Take the maximum value. |
min | Take the minimum value. |
Aggregate a dataset over a resolution window and apply a function.
Aggregation function to apply.
Available options:
sum, mean, max, min Output Dataset, the result of applying the specified aggregation function to the input dataset in windows of the given resolution
Show child attributes
Show child attributes
Example:
{
"id": "quarter-hourly-energy-offtake",
"resolution": "quarter_hourly",
"unit": "kWh"
}
Window over which to aggregate.
Available options:
quarter_hourly, hourly, daily, weekly, monthly, yearly Allowed value:
"aggregate"Was this page helpful?