LTDS Table 3 Demand

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=0ac103b3-5ee0-44e0-be31-51cea65aac7c&limit=5

Results containing 'jones':
https://connecteddata.nationalgrid.co.uk/api/3/action/datastore_search?resource_id=0ac103b3-5ee0-44e0-be31-51cea65aac7c&q=jones

Examples
  
    curl -X POST 'https://connecteddata.nationalgrid.co.uk/api/3/action/datastore_search' \
      -H "Content-Type: application/json" \
      -d '{
        "resource_id": "0ac103b3-5ee0-44e0-be31-51cea65aac7c",
        "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 = "0ac103b3-5ee0-44e0-be31-51cea65aac7c", // 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: '0ac103b3-5ee0-44e0-be31-51cea65aac7c', // 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=0ac103b3-5ee0-44e0-be31-51cea65aac7c&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' => '0ac103b3-5ee0-44e0-be31-51cea65aac7c', // 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
BSP Group text Not provided-

The substation area to which the substation belongs

Coventry Central
Current Year Max Demand numeric MW

The maximum demand seen at the substation between 01/10/2019 to 30/09/2020

4.42
Current Year Power Factor numeric PF

The Power Factor at the substation

0.96
Firm Capacity of Substation text MW

Firm Capacity of the substation site.

24
Forecast Year 1 numeric MW

Forecast Maximum demand year 1.

4.511
Forecast Year 2 numeric MW

Forecast Maximum demand year 2.

4.614
Forecast Year 3 numeric MW

Forecast Maximum demand year 3.

4.741
Forecast Year 4 numeric MW

Forecast Maximum demand year 4.

4.893
Forecast Year 5 numeric MW

Forecast Maximum demand year 5.

5.072
GSP Group text Not provided-

The name of the substation group that the substation is contained within

Berkswell 132kV
Licence text Not provided-

The name of the licence area from which the data is taken

EMIDS
Minimum demand Scaling Factor (%) text %

Minimum demand scaling factor

47.56%
Node text Not provided-

Busbar code

COUR7_BB_1_2
Operating Voltage numeric kV

The voltage at the substation

6.6
Primary Substation text Not provided-

The substation to which the node belongs

Courtaulds 6.6
Status text Not provided-

New, Removed or Unchanged

Unchanged