Historic 2-14 Day Ahead Demand Forecasts
All historic 2-14 day ahead demand forecasts from 2020 to the most recent forecast.
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=4dd712a2-ee2c-455d-a9c0-9d3564c80fa0&limit=5
|
Query example (via SQL statement) |
https://api.neso.energy/api/3/action/datastore_search_sql?sql=SELECT * from "4dd712a2-ee2c-455d-a9c0-9d3564c80fa0" LIMIT 5
|
A simple ajax (JSONP) request to the data API using jQuery.
var data = { resource_id: '4dd712a2-ee2c-455d-a9c0-9d3564c80fa0', // 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=4dd712a2-ee2c-455d-a9c0-9d3564c80fa0&limit=5' fileobj = urllib2.urlopen(url) print fileobj.read()
Data Explorer
Data Explorer
Table Information
DAYSAHEAD
Title | |
---|---|
Type | any |
Description | |
Comment | |
Example | |
Unit |
TARGETDATE
Title | |
---|---|
Type | any |
Description | |
Comment | |
Example | |
Unit |
FORECASTDEMAND
Title | |
---|---|
Type | any |
Description | |
Comment | |
Example | |
Unit |
CARDINALPOINT
Title | |
---|---|
Type | string |
Description | |
Comment | |
Example | |
Unit |
CP_TYPE
Title | |
---|---|
Type | string |
Description | |
Comment | |
Example | |
Unit |
CP_ST_TIME
Title | |
---|---|
Type | any |
Description | |
Comment | |
Example | |
Unit |
CP_END_TIME
Title | |
---|---|
Type | any |
Description | |
Comment | |
Example | |
Unit |
F_Point
Title | |
---|---|
Type | string |
Description | |
Comment | |
Example | |
Unit |
FORECAST_TIMESTAMP
Title | |
---|---|
Type | datetime |
Description | |
Comment | |
Example | |
Unit |