National Carbon Intensity Forecast
National carbon intensity forecast for the GB electricity system.
CKAN Data API
Access resource data via a web API with powerful query support.
Further information in the main CKAN Data API and DataStore documentation.
The Data API can be accessed via the following actions of the CKAN action API.
Query example (first 5 results) |
---|
https://api.neso.energy/api/3/action/datastore_search?resource_id=0e5fde43-2de7-4fb4-833d-c7bca3b658b0&limit=5
|
Query example (via SQL statement) |
https://api.neso.energy/api/3/action/datastore_search_sql?sql=SELECT * from "0e5fde43-2de7-4fb4-833d-c7bca3b658b0" LIMIT 5
|
A simple ajax (JSONP) request to the data API using jQuery.
var data = { resource_id: '0e5fde43-2de7-4fb4-833d-c7bca3b658b0', // the resource id limit: 5 // get 5 results }; $.ajax({ url: 'https://api.neso.energy/api/3/action/datastore_search', data: data, dataType: 'jsonp', success: function(data) { alert('Total results found: ' + data.result.total) } });
A simple ajax (JSONP) request to the data API using jQuery.
import urllib2 url = 'https://api.neso.energy/api/3/action/datastore_search?resource_id=0e5fde43-2de7-4fb4-833d-c7bca3b658b0&limit=5' fileobj = urllib2.urlopen(url) print fileobj.read()
Data Explorer
Data Explorer
Table Information
datetime
Title | Date & Time |
---|---|
Type | datetime |
Description | Timestamp of record, given in UTC (Coordinated Universal Time). |
Comment | |
Example | 2018-01-01T01:30:00 |
Unit |
forecast
Title | Forecast Carbon Intensity |
---|---|
Type | number |
Description | Forecast national carbon intensity, predicted using machine learning models. Forecast values are given in gCO2/kWh. |
Comment | |
Example | 159 |
Unit | gCO2/kWh |
actual
Title | Actual Carbon Intensity |
---|---|
Type | number |
Description | Actual national carbon intensity, estimated from metered generation. Actual values are given in gCO2/kWh. |
Comment | |
Example | 170 |
Unit | gCO2/kWh |
index
Title | Index |
---|---|
Type | string |
Description | Index describing the relative level of the carbon intensity. |
Comment | |
Example | very low |
Unit |