Biomass

This resource view is not available at the moment. Click here for more information.

Download resource

Integrate this resource

Access this data via a web API. Further information in the CKAN API guide (opens in new tab).

Endpoints

The Data API can be accessed via the following actions of the CKAN action API.

Create
https://connecteddata.nationalgrid.co.uk/api/3/action/datastore_create

Update / Insert
https://connecteddata.nationalgrid.co.uk/api/3/action/datastore_upsert

Query
https://connecteddata.nationalgrid.co.uk/api/3/action/datastore_search

Querying
First 5 results:
https://connecteddata.nationalgrid.co.uk/api/3/action/datastore_search?resource_id=97063c14-688a-4c45-b556-3f25e841de58&limit=5

Results containing 'jones':
https://connecteddata.nationalgrid.co.uk/api/3/action/datastore_search?resource_id=97063c14-688a-4c45-b556-3f25e841de58&q=jones

Examples
  
    curl -X POST 'https://connecteddata.nationalgrid.co.uk/api/3/action/datastore_search' \
      -H "Content-Type: application/json" \
      -d '{
        "resource_id": "97063c14-688a-4c45-b556-3f25e841de58",
        "limit": 5,
        "q": "jones"
      }'
  
  
    using System;
    using System.Net.Http;
    using System.Text;
    using System.Text.Json;
    using System.Threading.Tasks;

    var data = new {
      resource_id = "97063c14-688a-4c45-b556-3f25e841de58", // the resource id
      limit = 5, // get 5 results
      q = "jones" // query for 'jones'
    };

    var url = "https://connecteddata.nationalgrid.co.uk/api/3/action/datastore_search";

    using var client = new HttpClient();
    var json = JsonSerializer.Serialize(data);
    var content = new StringContent(json, Encoding.UTF8, "application/json");

    try {
      var response = await client.PostAsync(url, content);
      response.EnsureSuccessStatusCode();
      var responseBody = await response.Content.ReadAsStringAsync();
      var result = JsonSerializer.Deserialize<JsonElement>(responseBody);
      Console.WriteLine($"Total results found: {result.GetProperty("result").GetProperty("total")}");
    } catch (HttpRequestException e) {
      Console.WriteLine($"Error fetching data: {e.Message}");
    }
  
  
    const data = {
      resource_id: '97063c14-688a-4c45-b556-3f25e841de58', // the resource id
      limit: 5, // get 5 results
      q: 'jones' // query for 'jones'
    };

    const url = new URL('https://connecteddata.nationalgrid.co.uk/api/3/action/datastore_search');
    Object.keys(data).forEach(key => url.searchParams.append(key, data[key]));

    fetch(url)
      .then(response => response.json())
      .then(result => {
        console.log('Total results found: ' + result.result.total);
      })
      .catch(error => {
        console.error('Error fetching data:', error);
      });
  
  
    import urllib.request
    import urllib.error
    import json

    url = 'https://connecteddata.nationalgrid.co.uk/api/3/action/datastore_search?resource_id=97063c14-688a-4c45-b556-3f25e841de58&limit=5&q=title:jones'  
    
    try:
        with urllib.request.urlopen(url) as response:
            data = json.loads(response.read().decode('utf-8'))
            print(f"Total results found: {data['result']['total']}")
    except urllib.error.URLError as e:
        print(f"Error fetching data: {e}")
  
  
    $data = [
      'resource_id' => '97063c14-688a-4c45-b556-3f25e841de58', // the resource id
      'limit' => 5, // get 5 results
      'q' => 'jones' // query for 'jones'
    ];

    $url = 'https://connecteddata.nationalgrid.co.uk/api/3/action/datastore_search';

    $ch = curl_init($url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_POST, true);
    curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
    curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json']);

    $response = curl_exec($ch);
    $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
    curl_close($ch);

    if ($httpCode === 200) {
      $result = json_decode($response, true);
      echo "Total results found: " . $result['result']['total'];
    } else {
      echo "Error fetching data: HTTP " . $httpCode;
    }
  

Data Dictionary

Data Dictionary: Column definitions and metadata for this resource
Column Type Label Description Example
2020 numeric 2020

Year 2020

264
2021 numeric 2021

Year 2021

266
2022 numeric 2022

Year 2022

268
2023 numeric 2023

Year 2023

270
2024 numeric 2024

Year 2024

272
2025 numeric 2025

Year 2025

274
2026 numeric 2026

Year 2026

242
2027 numeric 2027

Year 2027

218
2028 numeric 2028

Year 2028

196
2029 numeric 2029

Year 2029

177
2030 numeric 2030

Year 2030

160
2031 numeric 2031

Year 2031

155
2032 numeric 2032

Year 2032

149
2033 numeric 2033

Year 2033

143
2034 numeric 2034

Year 2034

136
2035 numeric 2035

Year 2035

128
2040 numeric 2040

Year 2040

2
2045 numeric 2045

Year 2045

2
2050 numeric 2050

Year 2050

2
Baseline numeric Baseline

Baseline 2019

262
Data item text Data item

Technology type

Domestic - Gas boiler
ESA text ESA

Electrical Supply Area

Abercrave | Castell-nedd Port Talbot - Neath Port Talbot | South Wales
LA text LA

Local Authority

Castell-nedd Port Talbot - Neath Port Talbot
Primary text Primary

Primary substation

Abercrave
Scenario text Scenario

There are three net zero scenario pathways: High Electrification, Core Hydrogen and High Hydrogen

Core Hydrogen
Units text Units

Units

Number