Get time series data for a network.
This endpoint returns time series data for a network, with optional grouping by region and other dimensions. The data can be aggregated by different time intervals.
Args: network_code: The network to get data for metrics: List of metrics to query (e.g. energy, power, price) interval: The time interval to aggregate by date_start: Start time for the query date_end: End time for the query primary_grouping: Primary grouping to apply secondary_grouping: Optional secondary grouping to apply client: ClickHouse client dependency
Returns: APIV4ResponseSchema: Time series data response containing a list of TimeSeries objects, one per requested metric
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The metrics to get data for
Types of metrics that can be queried in OpenNEM.
Each metric represents a different type of measurement or calculation that can be performed on the data.
Attributes: POWER: Instantaneous power output/consumption (MW) ENERGY: Energy generated/consumed over time (MWh) PRICE: Price per unit of energy ($/MWh) DEMAND: Demand for energy (MW) MARKET_VALUE: Total market value ($) EMISSIONS: CO2 equivalent emissions (tonnes) RENEWABLE_PROPORTION: Percentage of renewable energy (%)
power, energy, price, market_value, demand, demand_energy, emissions, renewable_proportion The time interval to aggregate data by
5m, 1h, 1d, 7d, 1M, 3M, season, 1y, fy Start time for the query
End time for the query
Network region to get data for
Fueltech to get data for
Fueltech group to get data for
Primary grouping to apply
network, network_region Optional secondary grouping to apply
fueltech, fueltech_group, status, renewable