Skip to main content

Keep only values matching a condition, removing all others.

The resulting dataset will have "absent" values or "holes". See Datasets for details on absent values.

Works with both temporal conditions (month, day_of_week, time_of_day, exclude_holidays, and, or, not) and value conditions (highest, lowest).

condition
MonthCondition · object
required

Condition that only applies in the specified months.

Example:
{
  "months": [1, 2, 3, 11, 12],
  "type": "month"
}
input
Dataset · object
required

Dataset to select from

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

Output Dataset produced by this function, a local name used by subsequent functions to reference this result

Example:
{
  "id": "quarter-hourly-energy-offtake",
  "resolution": "quarter_hourly",
  "unit": "kWh"
}
type
string
default:select
Allowed value: "select"