Road Transport Notes (ED6) 2023
-
Road Transport Notes (ED6) 2023
The Future Energy Scenarios (FES) represent a range of different, credible ways to decarbonise our energy system as we strive towards the 2050 target. One of the FES outputs is an agreed set of data tables containing the GB FES values for road transport. This dataset is a file supporting those data tables. The file is the 2023 version of the dataset.
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 |
https://data.nationalgrideso.com/api/3/action/datastore_search
|
---|---|
Query (via SQL) |
https://data.nationalgrideso.com/api/3/action/datastore_search_sql
|
A simple ajax (JSONP) request to the data API using jQuery.
var data = { resource_id: '30012023-6c0b-4da5-bd77-4f2b244a950d', // the resource id limit: 5 // get 5 results }; $.ajax({ url: 'https://data.nationalgrideso.com/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://data.nationalgrideso.com/api/3/action/datastore_search?resource_id=30012023-6c0b-4da5-bd77-4f2b244a950d&limit=5' fileobj = urllib2.urlopen(url) print fileobj.read()