Building Block Definitions 2023
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=f400d905-4159-4bcb-8e7d-f28528545d89&limit=5
|
Query example (via SQL statement) |
https://api.neso.energy/api/3/action/datastore_search_sql?sql=SELECT * from "f400d905-4159-4bcb-8e7d-f28528545d89" LIMIT 5
|
A simple ajax (JSONP) request to the data API using jQuery.
var data = { resource_id: 'f400d905-4159-4bcb-8e7d-f28528545d89', // 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=f400d905-4159-4bcb-8e7d-f28528545d89&limit=5' fileobj = urllib2.urlopen(url) print fileobj.read()
Data Explorer
Data Explorer
Table Information
Template
Title | Template |
---|---|
Type | string |
Description | The area that this data relates to |
Comment | |
Example | Generation |
Unit | MW |
Technology
Title | Technology |
---|---|
Type | string |
Description | Lower level of categorisation after template level |
Comment | |
Example | Non-renewable CHP |
Unit | MW |
Building Block ID Number
Title | Building Block ID Number |
---|---|
Type | string |
Description | Code identifying this building block |
Comment | |
Example | Gen_BB001 |
Unit | MW |
Technology Detail
Title | Technology Detail |
---|---|
Type | string |
Description | Further information on what this building block contains |
Comment | |
Example | Offshore Wind |
Unit | MW |
Units
Title | Units |
---|---|
Type | string |
Description | The units that this building block is in |
Comment | |
Example | MW |
Unit | MW |
Detail
Title | Detail |
---|---|
Type | string |
Description | Description of what this building block contains |
Comment | |
Example | Installed capacity |
Unit | MW |
Comments
Title | Comments |
---|---|
Type | string |
Description | Further information on what is included in this building block |
Comment | |
Example | Non-renewable excluding domestic Micro CHP |
Unit |
Alignment with Ofgem Core Scenario Key Drivers
Title | Alignment with Ofgem Core Scenario Key Drivers |
---|---|
Type | string |
Description | Alignment with Ofgem Core Scenario Key Drivers |
Comment | |
Example | |
Unit |
Included in ESO Data
Title | Included in ESO Data |
---|---|
Type | string |
Description | Included in ESO Data |
Comment | |
Example | |
Unit |
ESO Comments
Title | ESO Additional Notes |
---|---|
Type | string |
Description | Supplemental notes on what ESO have provided for this building block |
Comment | |
Example | Data used for FES is provided under licence from Oxford Economics. We are unable to redistribute this data through the building blocks due to the terms of the licence. |
Unit |