Almost deleted model data

This commit is contained in:
Khalim Conn-Kowlessar 2023-10-05 15:09:50 +01:00
parent c6d1497eca
commit c86b742af4
50 changed files with 14 additions and 818 deletions

3
.gitignore vendored
View file

@ -239,7 +239,8 @@ fabric.properties
.idea/caches/build_file_checksums.ser
# Locally stored data
/model_data/local_data/*
local_data/*
/local_data/*
*.DS_Store
infrastructure/terraform/.terraform*

7
.idea/Model.iml generated
View file

@ -10,4 +10,11 @@
<orderEntry type="jdk" jdkName="Python 3.10 (model_data)" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="PyNamespacePackagesService">
<option name="namespacePackageFolders">
<list>
<option value="$MODULE_DIR$/local_data" />
</list>
</option>
</component>
</module>

View file

@ -1,10 +1,12 @@
from datetime import datetime
import re
import os
from epc_api.client import EpcClient
from model_data.config import EPC_AUTH_TOKEN
from model_data.BaseUtility import Definitions
from BaseUtility import Definitions
from recommendations.rdsap_tables import england_wales_age_band_lookup
EPC_AUTH_TOKEN = os.environ.get('EPC_AUTH_TOKEN')
class Property(Definitions):
ATTRIBUTE_MAP = {

View file

@ -1,5 +1,5 @@
import pytest
import model_data.epc_attributes.attribute_utils as attribute_utils
import etl.epc_clean.epc_attributes.attribute_utils as attribute_utils
def test_extract_thermal_transmittance():

View file

@ -1,49 +0,0 @@
# Environment setup
We're using conda to manage environments to circumvent the
issues with Mac M1. This documentation will also cover Pycharm setup.
We're working in python 3.10 so
```commandline
conda create -n hestia-data python=3.10
```
Then activate the environment
```commandline
conda activate hestia-data
```
To set up with Pycharm, run
```commandline
which python
```
and grab the path to the python executable. Then in Pycharm, go to
Settings > Project > Python Interpreter and click the gear icon
to add a new interpreter. Select Conda and either paste the path to the python executable
and click OK, or select the conda environment from the dropdown.
You may need to restart Pycharm for the new interpreter to be recognised.
To install project dependencies navigate to /model_data and run
```commandline
pip install -r requirements.txt
```
### Running Tests
If you are not in a virtual environment, activate it with
```commandline
conda activate envName
```
Then run
```commandline
pytest --cov-config=model_data/.coveragerc --cov=model_data
```

View file

View file

@ -1,6 +0,0 @@
import os
from dotenv import load_dotenv
load_dotenv(dotenv_path='model_data/.env')
EPC_AUTH_TOKEN = os.environ.get('EPC_AUTH_TOKEN')

View file

@ -1,29 +0,0 @@
import time
def pagenated_epc_download(client, params, page_size, n_pages, verbose=0, slowdown=0.1):
offset_from = 0
n_completed = 0
results = []
complete = False
while not complete:
if verbose:
print("Pulling for page %s" % str(int(offset_from / page_size) + 1))
time.sleep(slowdown)
search_resp = client.domestic.search(params=params, offset_from=offset_from, size=page_size)
# Note: We can only make 10k queries for a single set of search queries.
# It might make sense to download data via zip for machine learning since we don't need this
# data to be perfectly up to date
if not search_resp:
break
n_completed += 1
results.extend(search_resp["rows"])
if n_completed == n_pages:
complete = True
else:
offset_from += page_size
return results

View file

@ -1,674 +0,0 @@
data = [
{'low-energy-fixed-light-count': '', 'address': '2 Aspenlea Road', 'uprn-source': 'Address Matched',
'floor-height': '2.97', 'heating-cost-potential': '260', 'unheated-corridor-length': '',
'hot-water-cost-potential': '41', 'construction-age-band': '2021', 'potential-energy-rating': 'A',
'mainheat-energy-eff': 'Good', 'windows-env-eff': 'Very Good', 'lighting-energy-eff': 'Very Good',
'environment-impact-potential': '94', 'glazed-type': '', 'heating-cost-current': '260', 'address3': '',
'mainheatcont-description': 'Programmer, room thermostat and TRVs', 'sheating-energy-eff': 'N/A',
'property-type': 'Bungalow', 'local-authority-label': 'Hammersmith and Fulham',
'fixed-lighting-outlets-count': '11', 'energy-tariff': 'standard tariff', 'mechanical-ventilation': '',
'hot-water-cost-current': '66', 'county': '', 'postcode': 'W6 8LJ', 'solar-water-heating-flag': '',
'constituency': 'E14000726', 'co2-emissions-potential': '0.2', 'number-heated-rooms': '',
'floor-description': 'Average thermal transmittance 0.15 W/m-¦K', 'energy-consumption-potential': '16',
'local-authority': 'E09000013', 'built-form': 'Detached', 'number-open-fireplaces': '0',
'windows-description': 'High performance glazing', 'glazed-area': '', 'inspection-date': '2021-05-24',
'mains-gas-flag': '', 'co2-emiss-curr-per-floor-area': '24', 'address1': '2 Aspenlea Road',
'heat-loss-corridor': '', 'flat-storey-count': '', 'constituency-label': 'Hammersmith', 'roof-energy-eff': 'Good',
'total-floor-area': '54.0', 'building-reference-number': '10000980452', 'environment-impact-current': '80',
'co2-emissions-current': '1.3', 'roof-description': 'Average thermal transmittance 0.17 W/m-¦K',
'floor-energy-eff': 'Very Good', 'number-habitable-rooms': '', 'address2': '', 'hot-water-env-eff': 'Good',
'posttown': 'LONDON', 'mainheatc-energy-eff': 'Good', 'main-fuel': 'Gas: mains gas',
'lighting-env-eff': 'Very Good', 'windows-energy-eff': 'Very Good', 'floor-env-eff': 'Very Good',
'sheating-env-eff': 'N/A', 'lighting-description': 'Low energy lighting in all fixed outlets',
'roof-env-eff': 'Good', 'walls-energy-eff': 'Very Good', 'photo-supply': '', 'lighting-cost-potential': '47',
'mainheat-env-eff': 'Good', 'multi-glaze-proportion': '100', 'main-heating-controls': '',
'lodgement-datetime': '2021-05-24 14:26:30', 'flat-top-storey': 'N', 'current-energy-rating': 'C',
'secondheat-description': 'None', 'walls-env-eff': 'Very Good', 'transaction-type': 'new dwelling',
'uprn': '34169219', 'current-energy-efficiency': '77', 'energy-consumption-current': '135',
'mainheat-description': 'Boiler & underfloor, mains gas', 'lighting-cost-current': '47',
'lodgement-date': '2021-05-24', 'extension-count': '', 'mainheatc-env-eff': 'Good',
'lmk-key': 'eba2f9b74eba10683a6cc097985d6c7a6773d18a9407933ae03b3eb32607edec', 'wind-turbine-count': '0',
'tenure': 'Not defined - use in the case of a new dwelling for which the intended tenure in not known. It is no',
'floor-level': '', 'potential-energy-efficiency': '92', 'hot-water-energy-eff': 'Good',
'low-energy-lighting': '100', 'walls-description': 'Average thermal transmittance 0.25 W/m-¦K',
'hotwater-description': 'From main system'},
{'low-energy-fixed-light-count': '12', 'address': '1d, Cromwell Grove', 'uprn-source': 'Address Matched',
'floor-height': '', 'heating-cost-potential': '503', 'unheated-corridor-length': '',
'hot-water-cost-potential': '119', 'construction-age-band': 'NO DATA!', 'potential-energy-rating': 'C',
'mainheat-energy-eff': 'Very Poor', 'windows-env-eff': 'Very Good', 'lighting-energy-eff': 'Very Good',
'environment-impact-potential': '80', 'glazed-type': 'NO DATA!', 'heating-cost-current': '500', 'address3': '',
'mainheatcont-description': 'Programmer and appliance thermostats', 'sheating-energy-eff': 'N/A',
'property-type': 'Bungalow', 'local-authority-label': 'Hammersmith and Fulham',
'fixed-lighting-outlets-count': '12', 'energy-tariff': 'standard tariff', 'mechanical-ventilation': 'NO DATA!',
'hot-water-cost-current': '259', 'county': 'Greater London Authority', 'postcode': 'W6 7RQ',
'solar-water-heating-flag': '', 'constituency': 'E14000726', 'co2-emissions-potential': '1.2',
'number-heated-rooms': '', 'floor-description': 'Average thermal transmittance 0.15 W/m-¦K',
'energy-consumption-potential': '119', 'local-authority': 'E09000013', 'built-form': 'End-Terrace',
'number-open-fireplaces': '0', 'windows-description': 'High performance glazing', 'glazed-area': 'NO DATA!',
'inspection-date': '2018-10-29', 'mains-gas-flag': '', 'co2-emiss-curr-per-floor-area': '44',
'address1': '1d, Cromwell Grove', 'heat-loss-corridor': 'NO DATA!', 'flat-storey-count': '',
'constituency-label': 'Hammersmith', 'roof-energy-eff': 'Very Good', 'total-floor-area': '58.0',
'building-reference-number': '9713111678', 'environment-impact-current': '62', 'co2-emissions-current': '2.5',
'roof-description': 'Average thermal transmittance 0.13 W/m-¦K', 'floor-energy-eff': 'Very Good',
'number-habitable-rooms': '', 'address2': '', 'hot-water-env-eff': 'Poor', 'posttown': 'LONDON',
'mainheatc-energy-eff': 'Good', 'main-fuel': 'Electricity: electricity, unspecified tariff',
'lighting-env-eff': 'Very Good', 'windows-energy-eff': 'Very Good', 'floor-env-eff': 'Very Good',
'sheating-env-eff': 'N/A', 'lighting-description': 'Low energy lighting in all fixed outlets',
'roof-env-eff': 'Very Good', 'walls-energy-eff': 'Very Good', 'photo-supply': '', 'lighting-cost-potential': '44',
'mainheat-env-eff': 'Poor', 'multi-glaze-proportion': '', 'main-heating-controls': '',
'lodgement-datetime': '2018-10-29 15:20:04', 'flat-top-storey': '', 'current-energy-rating': 'D',
'secondheat-description': 'None', 'walls-env-eff': 'Very Good', 'transaction-type': 'new dwelling',
'uprn': '34162683', 'current-energy-efficiency': '58', 'energy-consumption-current': '258',
'mainheat-description': 'Room heaters, electric', 'lighting-cost-current': '44', 'lodgement-date': '2018-10-29',
'extension-count': '', 'mainheatc-env-eff': 'Good', 'lmk-key': '1674707719262018102915200471818698',
'wind-turbine-count': '', 'tenure': 'owner-occupied', 'floor-level': 'NO DATA!',
'potential-energy-efficiency': '77', 'hot-water-energy-eff': 'Very Poor', 'low-energy-lighting': '100',
'walls-description': 'Average thermal transmittance 0.26 W/m-¦K',
'hotwater-description': 'Electric immersion, standard tariff'},
{'low-energy-fixed-light-count': '1', 'address': 'The School House, Burlington Danes Academy, Wood Lane',
'uprn-source': '', 'floor-height': '', 'heating-cost-potential': '629', 'unheated-corridor-length': '',
'hot-water-cost-potential': '89', 'construction-age-band': 'NO DATA!', 'potential-energy-rating': 'C',
'mainheat-energy-eff': 'Very Poor', 'windows-env-eff': 'Very Good', 'lighting-energy-eff': 'Very Good',
'environment-impact-potential': '78', 'glazed-type': 'NO DATA!', 'heating-cost-current': '629',
'address3': 'Wood Lane', 'mainheatcont-description': 'Programmer and appliance thermostats',
'sheating-energy-eff': 'N/A', 'property-type': 'Bungalow', 'local-authority-label': 'Hammersmith and Fulham',
'fixed-lighting-outlets-count': '1', 'energy-tariff': 'standard tariff', 'mechanical-ventilation': 'NO DATA!',
'hot-water-cost-current': '205', 'county': 'Greater London Authority', 'postcode': 'W12 0HL',
'solar-water-heating-flag': '', 'constituency': 'E14000726', 'co2-emissions-potential': '1.7',
'number-heated-rooms': '', 'floor-description': 'Average thermal transmittance 0.22 W/m-¦K',
'energy-consumption-potential': '111', 'local-authority': 'E09000013', 'built-form': 'Detached',
'number-open-fireplaces': '0', 'windows-description': 'High performance glazing', 'glazed-area': 'NO DATA!',
'inspection-date': '2018-02-01', 'mains-gas-flag': '', 'co2-emiss-curr-per-floor-area': '35',
'address1': 'The School House', 'heat-loss-corridor': 'NO DATA!', 'flat-storey-count': '',
'constituency-label': 'Hammersmith', 'roof-energy-eff': 'Very Good', 'total-floor-area': '86.0',
'building-reference-number': '6433906578', 'environment-impact-current': '65', 'co2-emissions-current': '3.0',
'roof-description': 'Average thermal transmittance 0.13 W/m-¦K', 'floor-energy-eff': 'Good',
'number-habitable-rooms': '', 'address2': 'Burlington Danes Academy', 'hot-water-env-eff': 'Very Poor',
'posttown': 'LONDON', 'mainheatc-energy-eff': 'Good', 'main-fuel': 'Electricity: electricity, unspecified tariff',
'lighting-env-eff': 'Very Good', 'windows-energy-eff': 'Very Good', 'floor-env-eff': 'Good',
'sheating-env-eff': 'N/A', 'lighting-description': 'Low energy lighting in all fixed outlets',
'roof-env-eff': 'Very Good', 'walls-energy-eff': 'Very Good', 'photo-supply': '', 'lighting-cost-potential': '59',
'mainheat-env-eff': 'Poor', 'multi-glaze-proportion': '', 'main-heating-controls': '',
'lodgement-datetime': '2018-02-01 10:13:11', 'flat-top-storey': '', 'current-energy-rating': 'D',
'secondheat-description': 'Room heaters, dual fuel (mineral and wood)', 'walls-env-eff': 'Very Good',
'transaction-type': 'new dwelling', 'uprn': '', 'current-energy-efficiency': '63',
'energy-consumption-current': '200', 'mainheat-description': 'Room heaters, electric',
'lighting-cost-current': '59', 'lodgement-date': '2018-02-01', 'extension-count': '', 'mainheatc-env-eff': 'Good',
'lmk-key': '1604639899062018020110131146898768', 'wind-turbine-count': '', 'tenure': 'unknown',
'floor-level': 'NO DATA!', 'potential-energy-efficiency': '77', 'hot-water-energy-eff': 'Very Poor',
'low-energy-lighting': '100', 'walls-description': 'Average thermal transmittance 0.15 W/m-¦K',
'hotwater-description': 'Electric instantaneous at point of use'},
{'low-energy-fixed-light-count': '14', 'address': '3 Victor Wilkins Bungalows, Peabody Estate, Fulham Palace Road',
'uprn-source': 'Address Matched', 'floor-height': '', 'heating-cost-potential': '434',
'unheated-corridor-length': '', 'hot-water-cost-potential': '79', 'construction-age-band': 'NO DATA!',
'potential-energy-rating': 'C', 'mainheat-energy-eff': 'Good', 'windows-env-eff': 'Very Good',
'lighting-energy-eff': 'Very Good', 'environment-impact-potential': '77', 'glazed-type': 'NO DATA!',
'heating-cost-current': '434', 'address3': 'Fulham Palace Road',
'mainheatcont-description': 'Time and temperature zone control', 'sheating-energy-eff': 'N/A',
'property-type': 'Bungalow', 'local-authority-label': 'Hammersmith and Fulham',
'fixed-lighting-outlets-count': '14', 'energy-tariff': 'standard tariff', 'mechanical-ventilation': 'NO DATA!',
'hot-water-cost-current': '79', 'county': 'Greater London Authority', 'postcode': 'W6 9FU',
'solar-water-heating-flag': '', 'constituency': 'E14000726', 'co2-emissions-potential': '2.0',
'number-heated-rooms': '', 'floor-description': 'Average thermal transmittance 0.15 W/m-¦K',
'energy-consumption-potential': '148', 'local-authority': 'E09000013', 'built-form': 'End-Terrace',
'number-open-fireplaces': '0', 'windows-description': 'High performance glazing', 'glazed-area': 'NO DATA!',
'inspection-date': '2015-02-11', 'mains-gas-flag': '', 'co2-emiss-curr-per-floor-area': '28',
'address1': '3 Victor Wilkins Bungalows', 'heat-loss-corridor': 'NO DATA!', 'flat-storey-count': '',
'constituency-label': 'Hammersmith', 'roof-energy-eff': 'Very Good', 'total-floor-area': '72.0',
'building-reference-number': '8344023378', 'environment-impact-current': '77', 'co2-emissions-current': '2.0',
'roof-description': 'Average thermal transmittance 0.12 W/m-¦K', 'floor-energy-eff': 'Very Good',
'number-habitable-rooms': '', 'address2': 'Peabody Estate', 'hot-water-env-eff': 'Good', 'posttown': 'LONDON',
'mainheatc-energy-eff': 'Very Good',
'main-fuel': 'mains gas - this is for backwards compatibility only and should not be used',
'lighting-env-eff': 'Very Good', 'windows-energy-eff': 'Very Good', 'floor-env-eff': 'Very Good',
'sheating-env-eff': 'N/A', 'lighting-description': 'Low energy lighting in all fixed outlets',
'roof-env-eff': 'Very Good', 'walls-energy-eff': 'Very Good', 'photo-supply': '', 'lighting-cost-potential': '47',
'mainheat-env-eff': 'Good', 'multi-glaze-proportion': '', 'main-heating-controls': '',
'lodgement-datetime': '2015-02-12 17:44:45', 'flat-top-storey': '', 'current-energy-rating': 'C',
'secondheat-description': 'None', 'walls-env-eff': 'Very Good', 'transaction-type': 'new dwelling',
'uprn': '34155690', 'current-energy-efficiency': '75', 'energy-consumption-current': '148',
'mainheat-description': 'Boiler and radiators, mains gas', 'lighting-cost-current': '47',
'lodgement-date': '2015-02-12', 'extension-count': '', 'mainheatc-env-eff': 'Very Good',
'lmk-key': '1281430909922015021217444533598985', 'wind-turbine-count': '', 'tenure': 'unknown',
'floor-level': 'NO DATA!', 'potential-energy-efficiency': '75', 'hot-water-energy-eff': 'Good',
'low-energy-lighting': '', 'walls-description': 'Average thermal transmittance 0.18 W/m-¦K',
'hotwater-description': 'From main system'},
{'low-energy-fixed-light-count': '18', 'address': '1 Pugin Bungalow, Peabody Estate, Fulham Palace Road',
'uprn-source': 'Address Matched', 'floor-height': '', 'heating-cost-potential': '497',
'unheated-corridor-length': '', 'hot-water-cost-potential': '85', 'construction-age-band': 'NO DATA!',
'potential-energy-rating': 'C', 'mainheat-energy-eff': 'Good', 'windows-env-eff': 'Very Good',
'lighting-energy-eff': 'Very Good', 'environment-impact-potential': '76', 'glazed-type': 'NO DATA!',
'heating-cost-current': '497', 'address3': 'Fulham Palace Road',
'mainheatcont-description': 'Time and temperature zone control', 'sheating-energy-eff': 'N/A',
'property-type': 'Bungalow', 'local-authority-label': 'Hammersmith and Fulham',
'fixed-lighting-outlets-count': '18', 'energy-tariff': 'standard tariff', 'mechanical-ventilation': 'NO DATA!',
'hot-water-cost-current': '85', 'county': 'Greater London Authority', 'postcode': 'W6 9FU',
'solar-water-heating-flag': '', 'constituency': 'E14000726', 'co2-emissions-potential': '2.4',
'number-heated-rooms': '', 'floor-description': 'Average thermal transmittance 0.15 W/m-¦K',
'energy-consumption-potential': '140', 'local-authority': 'E09000013', 'built-form': 'Semi-Detached',
'number-open-fireplaces': '0', 'windows-description': 'High performance glazing', 'glazed-area': 'NO DATA!',
'inspection-date': '2015-02-11', 'mains-gas-flag': '', 'co2-emiss-curr-per-floor-area': '27',
'address1': '1 Pugin Bungalow', 'heat-loss-corridor': 'NO DATA!', 'flat-storey-count': '',
'constituency-label': 'Hammersmith', 'roof-energy-eff': 'Very Good', 'total-floor-area': '89.0',
'building-reference-number': '5204023378', 'environment-impact-current': '76', 'co2-emissions-current': '2.4',
'roof-description': 'Average thermal transmittance 0.11 W/m-¦K', 'floor-energy-eff': 'Very Good',
'number-habitable-rooms': '', 'address2': 'Peabody Estate', 'hot-water-env-eff': 'Good', 'posttown': 'LONDON',
'mainheatc-energy-eff': 'Very Good',
'main-fuel': 'mains gas - this is for backwards compatibility only and should not be used',
'lighting-env-eff': 'Very Good', 'windows-energy-eff': 'Very Good', 'floor-env-eff': 'Very Good',
'sheating-env-eff': 'N/A', 'lighting-description': 'Low energy lighting in all fixed outlets',
'roof-env-eff': 'Very Good', 'walls-energy-eff': 'Very Good', 'photo-supply': '', 'lighting-cost-potential': '55',
'mainheat-env-eff': 'Good', 'multi-glaze-proportion': '', 'main-heating-controls': '',
'lodgement-datetime': '2015-02-12 17:36:45', 'flat-top-storey': '', 'current-energy-rating': 'C',
'secondheat-description': 'None', 'walls-env-eff': 'Very Good', 'transaction-type': 'new dwelling',
'uprn': '34155691', 'current-energy-efficiency': '76', 'energy-consumption-current': '140',
'mainheat-description': 'Boiler and radiators, mains gas', 'lighting-cost-current': '55',
'lodgement-date': '2015-02-12', 'extension-count': '', 'mainheatc-env-eff': 'Very Good',
'lmk-key': '1281255029242015021217364536359498', 'wind-turbine-count': '', 'tenure': 'unknown',
'floor-level': 'NO DATA!', 'potential-energy-efficiency': '76', 'hot-water-energy-eff': 'Good',
'low-energy-lighting': '', 'walls-description': 'Average thermal transmittance 0.17 W/m-¦K',
'hotwater-description': 'From main system'},
{'low-energy-fixed-light-count': '8', 'address': '1 Victor Wilkins Bungalows, Peabody Estate, Fulham Palace Road',
'uprn-source': 'Address Matched', 'floor-height': '', 'heating-cost-potential': '403',
'unheated-corridor-length': '', 'hot-water-cost-potential': '76', 'construction-age-band': 'NO DATA!',
'potential-energy-rating': 'C', 'mainheat-energy-eff': 'Good', 'windows-env-eff': 'Very Good',
'lighting-energy-eff': 'Very Good', 'environment-impact-potential': '77', 'glazed-type': 'NO DATA!',
'heating-cost-current': '403', 'address3': 'Fulham Palace Road',
'mainheatcont-description': 'Time and temperature zone control', 'sheating-energy-eff': 'N/A',
'property-type': 'Bungalow', 'local-authority-label': 'Hammersmith and Fulham',
'fixed-lighting-outlets-count': '8', 'energy-tariff': 'standard tariff', 'mechanical-ventilation': 'NO DATA!',
'hot-water-cost-current': '76', 'county': 'Greater London Authority', 'postcode': 'W6 9FU',
'solar-water-heating-flag': '', 'constituency': 'E14000726', 'co2-emissions-potential': '1.9',
'number-heated-rooms': '', 'floor-description': 'Average thermal transmittance 0.15 W/m-¦K',
'energy-consumption-potential': '151', 'local-authority': 'E09000013', 'built-form': 'End-Terrace',
'number-open-fireplaces': '0', 'windows-description': 'High performance glazing', 'glazed-area': 'NO DATA!',
'inspection-date': '2015-02-11', 'mains-gas-flag': '', 'co2-emiss-curr-per-floor-area': '29',
'address1': '1 Victor Wilkins Bungalows', 'heat-loss-corridor': 'NO DATA!', 'flat-storey-count': '',
'constituency-label': 'Hammersmith', 'roof-energy-eff': 'Very Good', 'total-floor-area': '65.0',
'building-reference-number': '4824023378', 'environment-impact-current': '77', 'co2-emissions-current': '1.9',
'roof-description': 'Average thermal transmittance 0.12 W/m-¦K', 'floor-energy-eff': 'Very Good',
'number-habitable-rooms': '', 'address2': 'Peabody Estate', 'hot-water-env-eff': 'Good', 'posttown': 'LONDON',
'mainheatc-energy-eff': 'Very Good',
'main-fuel': 'mains gas - this is for backwards compatibility only and should not be used',
'lighting-env-eff': 'Very Good', 'windows-energy-eff': 'Very Good', 'floor-env-eff': 'Very Good',
'sheating-env-eff': 'N/A', 'lighting-description': 'Low energy lighting in all fixed outlets',
'roof-env-eff': 'Very Good', 'walls-energy-eff': 'Very Good', 'photo-supply': '', 'lighting-cost-potential': '43',
'mainheat-env-eff': 'Good', 'multi-glaze-proportion': '', 'main-heating-controls': '',
'lodgement-datetime': '2015-02-12 17:39:26', 'flat-top-storey': '', 'current-energy-rating': 'C',
'secondheat-description': 'None', 'walls-env-eff': 'Very Good', 'transaction-type': 'new dwelling',
'uprn': '34155688', 'current-energy-efficiency': '75', 'energy-consumption-current': '151',
'mainheat-description': 'Boiler and radiators, mains gas', 'lighting-cost-current': '43',
'lodgement-date': '2015-02-12', 'extension-count': '', 'mainheatc-env-eff': 'Very Good',
'lmk-key': '1281195060112015021217392692950438', 'wind-turbine-count': '', 'tenure': 'unknown',
'floor-level': 'NO DATA!', 'potential-energy-efficiency': '75', 'hot-water-energy-eff': 'Good',
'low-energy-lighting': '', 'walls-description': 'Average thermal transmittance 0.18 W/m-¦K',
'hotwater-description': 'From main system'},
{'low-energy-fixed-light-count': '9', 'address': '2 Victor Wilkins Bungalows, Peabody Estate, Fulham Palace Road',
'uprn-source': 'Address Matched', 'floor-height': '', 'heating-cost-potential': '325',
'unheated-corridor-length': '', 'hot-water-cost-potential': '67', 'construction-age-band': 'NO DATA!',
'potential-energy-rating': 'C', 'mainheat-energy-eff': 'Good', 'windows-env-eff': 'Very Good',
'lighting-energy-eff': 'Very Good', 'environment-impact-potential': '79', 'glazed-type': 'NO DATA!',
'heating-cost-current': '325', 'address3': 'Fulham Palace Road',
'mainheatcont-description': 'Time and temperature zone control', 'sheating-energy-eff': 'N/A',
'property-type': 'Bungalow', 'local-authority-label': 'Hammersmith and Fulham',
'fixed-lighting-outlets-count': '9', 'energy-tariff': 'standard tariff', 'mechanical-ventilation': 'NO DATA!',
'hot-water-cost-current': '67', 'county': 'Greater London Authority', 'postcode': 'W6 9FU',
'solar-water-heating-flag': '', 'constituency': 'E14000726', 'co2-emissions-potential': '1.4',
'number-heated-rooms': '', 'floor-description': 'Average thermal transmittance 0.15 W/m-¦K',
'energy-consumption-potential': '156', 'local-authority': 'E09000013', 'built-form': 'Mid-Terrace',
'number-open-fireplaces': '0', 'windows-description': 'High performance glazing', 'glazed-area': 'NO DATA!',
'inspection-date': '2015-02-11', 'mains-gas-flag': '', 'co2-emiss-curr-per-floor-area': '30',
'address1': '2 Victor Wilkins Bungalows', 'heat-loss-corridor': 'NO DATA!', 'flat-storey-count': '',
'constituency-label': 'Hammersmith', 'roof-energy-eff': 'Very Good', 'total-floor-area': '48.0',
'building-reference-number': '4534023378', 'environment-impact-current': '79', 'co2-emissions-current': '1.4',
'roof-description': 'Average thermal transmittance 0.11 W/m-¦K', 'floor-energy-eff': 'Very Good',
'number-habitable-rooms': '', 'address2': 'Peabody Estate', 'hot-water-env-eff': 'Good', 'posttown': 'LONDON',
'mainheatc-energy-eff': 'Very Good',
'main-fuel': 'mains gas - this is for backwards compatibility only and should not be used',
'lighting-env-eff': 'Very Good', 'windows-energy-eff': 'Very Good', 'floor-env-eff': 'Very Good',
'sheating-env-eff': 'N/A', 'lighting-description': 'Low energy lighting in all fixed outlets',
'roof-env-eff': 'Very Good', 'walls-energy-eff': 'Very Good', 'photo-supply': '', 'lighting-cost-potential': '33',
'mainheat-env-eff': 'Good', 'multi-glaze-proportion': '', 'main-heating-controls': '',
'lodgement-datetime': '2015-02-12 17:42:21', 'flat-top-storey': '', 'current-energy-rating': 'C',
'secondheat-description': 'None', 'walls-env-eff': 'Very Good', 'transaction-type': 'new dwelling',
'uprn': '34155689', 'current-energy-efficiency': '76', 'energy-consumption-current': '156',
'mainheat-description': 'Boiler and radiators, mains gas', 'lighting-cost-current': '33',
'lodgement-date': '2015-02-12', 'extension-count': '', 'mainheatc-env-eff': 'Very Good',
'lmk-key': '1281177390012015021217422192950435', 'wind-turbine-count': '', 'tenure': 'unknown',
'floor-level': 'NO DATA!', 'potential-energy-efficiency': '76', 'hot-water-energy-eff': 'Good',
'low-energy-lighting': '', 'walls-description': 'Average thermal transmittance 0.17 W/m-¦K',
'hotwater-description': 'From main system'},
{'low-energy-fixed-light-count': '8', 'address': '25, Ravenscourt Gardens', 'uprn-source': 'Address Matched',
'floor-height': '', 'heating-cost-potential': '198', 'unheated-corridor-length': '',
'hot-water-cost-potential': '41', 'construction-age-band': 'NO DATA!', 'potential-energy-rating': 'B',
'mainheat-energy-eff': 'Good', 'windows-env-eff': 'Very Good', 'lighting-energy-eff': 'Very Good',
'environment-impact-potential': '89', 'glazed-type': 'NO DATA!', 'heating-cost-current': '198', 'address3': '',
'mainheatcont-description': 'Time and temperature zone control', 'sheating-energy-eff': 'N/A',
'property-type': 'Bungalow', 'local-authority-label': 'Hammersmith and Fulham',
'fixed-lighting-outlets-count': '8', 'energy-tariff': 'standard tariff', 'mechanical-ventilation': 'NO DATA!',
'hot-water-cost-current': '69', 'county': 'Greater London Authority', 'postcode': 'W6 0TU',
'solar-water-heating-flag': '', 'constituency': 'E14000726', 'co2-emissions-potential': '0.6',
'number-heated-rooms': '', 'floor-description': 'Average thermal transmittance 0.14 W/m-¦K',
'energy-consumption-potential': '93', 'local-authority': 'E09000013', 'built-form': 'Detached',
'number-open-fireplaces': '0', 'windows-description': 'High performance glazing', 'glazed-area': 'NO DATA!',
'inspection-date': '2014-11-07', 'mains-gas-flag': '', 'co2-emiss-curr-per-floor-area': '21',
'address1': '25, Ravenscourt Gardens', 'heat-loss-corridor': 'NO DATA!', 'flat-storey-count': '',
'constituency-label': 'Hammersmith', 'roof-energy-eff': 'Good', 'total-floor-area': '36.0',
'building-reference-number': '8243769278', 'environment-impact-current': '87', 'co2-emissions-current': '0.7',
'roof-description': 'Average thermal transmittance 0.15 W/m-¦K', 'floor-energy-eff': 'Very Good',
'number-habitable-rooms': '', 'address2': '', 'hot-water-env-eff': 'Good', 'posttown': 'LONDON',
'mainheatc-energy-eff': 'Very Good',
'main-fuel': 'mains gas - this is for backwards compatibility only and should not be used',
'lighting-env-eff': 'Very Good', 'windows-energy-eff': 'Very Good', 'floor-env-eff': 'Very Good',
'sheating-env-eff': 'N/A', 'lighting-description': 'Low energy lighting in all fixed outlets',
'roof-env-eff': 'Good', 'walls-energy-eff': 'Very Good', 'photo-supply': '', 'lighting-cost-potential': '26',
'mainheat-env-eff': 'Good', 'multi-glaze-proportion': '', 'main-heating-controls': '',
'lodgement-datetime': '2014-11-07 10:41:55', 'flat-top-storey': '', 'current-energy-rating': 'B',
'secondheat-description': 'None', 'walls-env-eff': 'Very Good', 'transaction-type': 'new dwelling',
'uprn': '34153661', 'current-energy-efficiency': '81', 'energy-consumption-current': '117',
'mainheat-description': 'Boiler and underfloor heating, mains gas', 'lighting-cost-current': '26',
'lodgement-date': '2014-11-07', 'extension-count': '', 'mainheatc-env-eff': 'Very Good',
'lmk-key': '1231486579062014110710415529438084', 'wind-turbine-count': '', 'tenure': 'unknown',
'floor-level': 'NO DATA!', 'potential-energy-efficiency': '83', 'hot-water-energy-eff': 'Good',
'low-energy-lighting': '', 'walls-description': 'Average thermal transmittance 0.22 W/m-¦K',
'hotwater-description': 'From main system'},
{'low-energy-fixed-light-count': '', 'address': 'Flat 5, 197-199 North End Road,', 'uprn-source': '',
'floor-height': '2.75', 'heating-cost-potential': '716', 'unheated-corridor-length': '',
'hot-water-cost-potential': '262', 'construction-age-band': '2023', 'potential-energy-rating': 'C',
'mainheat-energy-eff': 'Good', 'windows-env-eff': 'Very Good', 'lighting-energy-eff': 'Very Good',
'environment-impact-potential': '77', 'glazed-type': '', 'heating-cost-current': '716', 'address3': '',
'mainheatcont-description': 'Programmer, room thermostat and TRVs', 'sheating-energy-eff': 'N/A',
'property-type': 'Flat', 'local-authority-label': 'Hammersmith and Fulham', 'fixed-lighting-outlets-count': '21',
'energy-tariff': 'standard tariff', 'mechanical-ventilation': '', 'hot-water-cost-current': '262', 'county': '',
'postcode': 'W14 9NL', 'solar-water-heating-flag': '', 'constituency': 'E14000726',
'co2-emissions-potential': '2.2', 'number-heated-rooms': '',
'floor-description': 'Average thermal transmittance 0.31 W/m-¦K', 'energy-consumption-potential': '109',
'local-authority': 'E09000013', 'built-form': 'Mid-Terrace', 'number-open-fireplaces': '0',
'windows-description': 'High performance glazing', 'glazed-area': '', 'inspection-date': '2023-04-29',
'mains-gas-flag': '', 'co2-emiss-curr-per-floor-area': '19', 'address1': 'Flat 5', 'heat-loss-corridor': '',
'flat-storey-count': '', 'constituency-label': 'Hammersmith', 'roof-energy-eff': 'Very Good',
'total-floor-area': '112.0', 'building-reference-number': '10004366541', 'environment-impact-current': '77',
'co2-emissions-current': '2.2', 'roof-description': 'Average thermal transmittance 0.14 W/m-¦K',
'floor-energy-eff': 'Average', 'number-habitable-rooms': '', 'address2': '197-199 North End Road,',
'hot-water-env-eff': 'Good', 'posttown': 'LONDON', 'mainheatc-energy-eff': 'Good', 'main-fuel': 'Gas: mains gas',
'lighting-env-eff': 'Very Good', 'windows-energy-eff': 'Very Good', 'floor-env-eff': 'Average',
'sheating-env-eff': 'N/A', 'lighting-description': 'Low energy lighting in all fixed outlets',
'roof-env-eff': 'Very Good', 'walls-energy-eff': 'Very Good', 'photo-supply': '', 'lighting-cost-potential': '167',
'mainheat-env-eff': 'Good', 'multi-glaze-proportion': '100', 'main-heating-controls': '',
'lodgement-datetime': '2023-04-29 19:00:05', 'flat-top-storey': 'Y', 'current-energy-rating': 'C',
'secondheat-description': 'None', 'walls-env-eff': 'Very Good', 'transaction-type': 'not sale or rental',
'uprn': '', 'current-energy-efficiency': '78', 'energy-consumption-current': '109',
'mainheat-description': 'Boiler and radiators, mains gas', 'lighting-cost-current': '167',
'lodgement-date': '2023-04-29', 'extension-count': '', 'mainheatc-env-eff': 'Good',
'lmk-key': '4fa22ecbdf199782db9090216eee5f04337864e0393ed6898aaccedac2dec0ed', 'wind-turbine-count': '0',
'tenure': 'Not defined - use in the case of a new dwelling for which the intended tenure in not known. It is no',
'floor-level': '3', 'potential-energy-efficiency': '78', 'hot-water-energy-eff': 'Good',
'low-energy-lighting': '100', 'walls-description': 'Average thermal transmittance 0.24 W/m-¦K',
'hotwater-description': 'From main system'},
{'low-energy-fixed-light-count': '', 'address': 'Flat 4, 14 Bloemfontein Road', 'uprn-source': 'Energy Assessor',
'floor-height': '2.65', 'heating-cost-potential': '618', 'unheated-corridor-length': '',
'hot-water-cost-potential': '335', 'construction-age-band': '2021', 'potential-energy-rating': 'C',
'mainheat-energy-eff': 'Very Poor', 'windows-env-eff': 'Very Good', 'lighting-energy-eff': 'Very Good',
'environment-impact-potential': '73', 'glazed-type': '', 'heating-cost-current': '618', 'address3': '',
'mainheatcont-description': 'Time and temperature zone control', 'sheating-energy-eff': 'N/A',
'property-type': 'Flat', 'local-authority-label': 'Hammersmith and Fulham', 'fixed-lighting-outlets-count': '10',
'energy-tariff': 'standard tariff', 'mechanical-ventilation': '', 'hot-water-cost-current': '335', 'county': '',
'postcode': 'W12 7BX', 'solar-water-heating-flag': '', 'constituency': 'E14000726',
'co2-emissions-potential': '1.4', 'number-heated-rooms': '',
'floor-description': 'Average thermal transmittance 0.19 W/m-¦K', 'energy-consumption-potential': '211',
'local-authority': 'E09000013', 'built-form': 'Mid-Terrace', 'number-open-fireplaces': '0',
'windows-description': 'High performance glazing', 'glazed-area': '', 'inspection-date': '2023-04-17',
'mains-gas-flag': '', 'co2-emiss-curr-per-floor-area': '36', 'address1': 'Flat 4', 'heat-loss-corridor': '',
'flat-storey-count': '', 'constituency-label': 'Hammersmith', 'roof-energy-eff': 'Good',
'total-floor-area': '40.0', 'building-reference-number': '10004364259', 'environment-impact-current': '73',
'co2-emissions-current': '1.4', 'roof-description': 'Average thermal transmittance 0.16 W/m-¦K',
'floor-energy-eff': 'Very Good', 'number-habitable-rooms': '', 'address2': '14 Bloemfontein Road',
'hot-water-env-eff': 'Poor', 'posttown': 'LONDON', 'mainheatc-energy-eff': 'Very Good',
'main-fuel': 'Electricity: electricity, unspecified tariff', 'lighting-env-eff': 'Very Good',
'windows-energy-eff': 'Very Good', 'floor-env-eff': 'Very Good', 'sheating-env-eff': 'N/A',
'lighting-description': 'Low energy lighting in all fixed outlets', 'roof-env-eff': 'Good',
'walls-energy-eff': 'Very Good', 'photo-supply': '', 'lighting-cost-potential': '72', 'mainheat-env-eff': 'Poor',
'multi-glaze-proportion': '100', 'main-heating-controls': '', 'lodgement-datetime': '2023-04-17 14:07:33',
'flat-top-storey': 'Y', 'current-energy-rating': 'C', 'secondheat-description': 'None',
'walls-env-eff': 'Very Good', 'transaction-type': 'new dwelling', 'uprn': '34172210',
'current-energy-efficiency': '70', 'energy-consumption-current': '211',
'mainheat-description': 'Boiler and radiators, electric', 'lighting-cost-current': '72',
'lodgement-date': '2023-04-17', 'extension-count': '', 'mainheatc-env-eff': 'Very Good',
'lmk-key': '2b4a0154ae9dc85a8654e23a76fc04bb814ed038dde521a27db6e1f29e260b06', 'wind-turbine-count': '0',
'tenure': 'Owner-occupied', 'floor-level': '3', 'potential-energy-efficiency': '70',
'hot-water-energy-eff': 'Very Poor', 'low-energy-lighting': '100',
'walls-description': 'Average thermal transmittance 0.29 W/m-¦K',
'hotwater-description': 'Electric instantaneous at point of use'},
{'low-energy-fixed-light-count': '', 'address': 'Flat 1, 14 Bloemfontein Road', 'uprn-source': 'Energy Assessor',
'floor-height': '2.1', 'heating-cost-potential': '644', 'unheated-corridor-length': '',
'hot-water-cost-potential': '214', 'construction-age-band': '2021', 'potential-energy-rating': 'C',
'mainheat-energy-eff': 'Good', 'windows-env-eff': 'Very Good', 'lighting-energy-eff': 'Very Good',
'environment-impact-potential': '77', 'glazed-type': '', 'heating-cost-current': '644', 'address3': '',
'mainheatcont-description': 'Programmer, room thermostat and TRVs', 'sheating-energy-eff': 'N/A',
'property-type': 'Flat', 'local-authority-label': 'Hammersmith and Fulham', 'fixed-lighting-outlets-count': '12',
'energy-tariff': 'standard tariff', 'mechanical-ventilation': '', 'hot-water-cost-current': '214', 'county': '',
'postcode': 'W12 7BX', 'solar-water-heating-flag': '', 'constituency': 'E14000726',
'co2-emissions-potential': '1.8', 'number-heated-rooms': '',
'floor-description': 'Average thermal transmittance 0.19 W/m-¦K', 'energy-consumption-potential': '128',
'local-authority': 'E09000013', 'built-form': 'Mid-Terrace', 'number-open-fireplaces': '0',
'windows-description': 'High performance glazing', 'glazed-area': '', 'inspection-date': '2023-04-17',
'mains-gas-flag': '', 'co2-emiss-curr-per-floor-area': '22', 'address1': 'Flat 1', 'heat-loss-corridor': '',
'flat-storey-count': '', 'constituency-label': 'Hammersmith', 'roof-energy-eff': 'Good',
'total-floor-area': '82.0', 'building-reference-number': '10004350634', 'environment-impact-current': '77',
'co2-emissions-current': '1.8', 'roof-description': 'Average thermal transmittance 0.17 W/m-¦K',
'floor-energy-eff': 'Very Good', 'number-habitable-rooms': '', 'address2': '14 Bloemfontein Road',
'hot-water-env-eff': 'Good', 'posttown': 'LONDON', 'mainheatc-energy-eff': 'Good', 'main-fuel': 'Gas: mains gas',
'lighting-env-eff': 'Very Good', 'windows-energy-eff': 'Very Good', 'floor-env-eff': 'Very Good',
'sheating-env-eff': 'N/A', 'lighting-description': 'Low energy lighting in all fixed outlets',
'roof-env-eff': 'Good', 'walls-energy-eff': 'Very Good', 'photo-supply': '', 'lighting-cost-potential': '129',
'mainheat-env-eff': 'Good', 'multi-glaze-proportion': '100', 'main-heating-controls': '',
'lodgement-datetime': '2023-04-17 14:07:29', 'flat-top-storey': 'N', 'current-energy-rating': 'C',
'secondheat-description': 'None', 'walls-env-eff': 'Very Good', 'transaction-type': 'new dwelling',
'uprn': '34172207', 'current-energy-efficiency': '78', 'energy-consumption-current': '128',
'mainheat-description': 'Boiler and radiators, mains gas', 'lighting-cost-current': '129',
'lodgement-date': '2023-04-17', 'extension-count': '', 'mainheatc-env-eff': 'Good',
'lmk-key': '006f849816dd0a4be832d2f068d858b6c9854c3814297d974c2b57f983191614', 'wind-turbine-count': '0',
'tenure': 'Owner-occupied', 'floor-level': '1', 'potential-energy-efficiency': '78',
'hot-water-energy-eff': 'Good', 'low-energy-lighting': '100',
'walls-description': 'Average thermal transmittance 0.28 W/m-¦K', 'hotwater-description': 'From main system'},
{'low-energy-fixed-light-count': '', 'address': 'Flat 2, 14 Bloemfontein Road', 'uprn-source': 'Energy Assessor',
'floor-height': '2.7', 'heating-cost-potential': '720', 'unheated-corridor-length': '',
'hot-water-cost-potential': '374', 'construction-age-band': '2021', 'potential-energy-rating': 'C',
'mainheat-energy-eff': 'Very Poor', 'windows-env-eff': 'Very Good', 'lighting-energy-eff': 'Very Good',
'environment-impact-potential': '72', 'glazed-type': '', 'heating-cost-current': '720', 'address3': '',
'mainheatcont-description': 'Time and temperature zone control', 'sheating-energy-eff': 'N/A',
'property-type': 'Flat', 'local-authority-label': 'Hammersmith and Fulham', 'fixed-lighting-outlets-count': '10',
'energy-tariff': 'standard tariff', 'mechanical-ventilation': '', 'hot-water-cost-current': '374', 'county': '',
'postcode': 'W12 7BX', 'solar-water-heating-flag': '', 'constituency': 'E14000726',
'co2-emissions-potential': '1.7', 'number-heated-rooms': '',
'floor-description': 'Average thermal transmittance 0.19 W/m-¦K', 'energy-consumption-potential': '189',
'local-authority': 'E09000013', 'built-form': 'Mid-Terrace', 'number-open-fireplaces': '0',
'windows-description': 'High performance glazing', 'glazed-area': '', 'inspection-date': '2023-04-17',
'mains-gas-flag': '', 'co2-emiss-curr-per-floor-area': '32', 'address1': 'Flat 2', 'heat-loss-corridor': '',
'flat-storey-count': '', 'constituency-label': 'Hammersmith', 'roof-energy-eff': 'Very Good',
'total-floor-area': '52.0', 'building-reference-number': '10004357130', 'environment-impact-current': '72',
'co2-emissions-current': '1.7', 'roof-description': 'Average thermal transmittance 0.11 W/m-¦K',
'floor-energy-eff': 'Very Good', 'number-habitable-rooms': '', 'address2': '14 Bloemfontein Road',
'hot-water-env-eff': 'Poor', 'posttown': 'LONDON', 'mainheatc-energy-eff': 'Very Good',
'main-fuel': 'Electricity: electricity, unspecified tariff', 'lighting-env-eff': 'Very Good',
'windows-energy-eff': 'Very Good', 'floor-env-eff': 'Very Good', 'sheating-env-eff': 'N/A',
'lighting-description': 'Low energy lighting in all fixed outlets', 'roof-env-eff': 'Very Good',
'walls-energy-eff': 'Good', 'photo-supply': '', 'lighting-cost-potential': '89', 'mainheat-env-eff': 'Poor',
'multi-glaze-proportion': '100', 'main-heating-controls': '', 'lodgement-datetime': '2023-04-17 14:07:31',
'flat-top-storey': 'N', 'current-energy-rating': 'C', 'secondheat-description': 'None', 'walls-env-eff': 'Good',
'transaction-type': 'new dwelling', 'uprn': '34172208', 'current-energy-efficiency': '69',
'energy-consumption-current': '189', 'mainheat-description': 'Boiler and radiators, electric',
'lighting-cost-current': '89', 'lodgement-date': '2023-04-17', 'extension-count': '',
'mainheatc-env-eff': 'Very Good', 'lmk-key': '617063b16faf77c38c0d8784af28ec4f60cc2ab6bf9857b29797172b557ba5c9',
'wind-turbine-count': '0', 'tenure': 'Owner-occupied', 'floor-level': '2', 'potential-energy-efficiency': '69',
'hot-water-energy-eff': 'Very Poor', 'low-energy-lighting': '100',
'walls-description': 'Average thermal transmittance 0.30 W/m-¦K',
'hotwater-description': 'Electric instantaneous at point of use'},
{'low-energy-fixed-light-count': '', 'address': 'Flat 2, 41 Bloemfontein Road', 'uprn-source': 'Energy Assessor',
'floor-height': '2.6', 'heating-cost-potential': '779', 'unheated-corridor-length': '',
'hot-water-cost-potential': '403', 'construction-age-band': '2021', 'potential-energy-rating': 'C',
'mainheat-energy-eff': 'Very Poor', 'windows-env-eff': 'Very Good', 'lighting-energy-eff': 'Very Good',
'environment-impact-potential': '72', 'glazed-type': '', 'heating-cost-current': '779', 'address3': '',
'mainheatcont-description': 'Time and temperature zone control', 'sheating-energy-eff': 'N/A',
'property-type': 'Flat', 'local-authority-label': 'Hammersmith and Fulham', 'fixed-lighting-outlets-count': '10',
'energy-tariff': 'standard tariff', 'mechanical-ventilation': '', 'hot-water-cost-current': '403', 'county': '',
'postcode': 'W12 7BH', 'solar-water-heating-flag': '', 'constituency': 'E14000726',
'co2-emissions-potential': '1.8', 'number-heated-rooms': '',
'floor-description': 'Average thermal transmittance 0.19 W/m-¦K', 'energy-consumption-potential': '177',
'local-authority': 'E09000013', 'built-form': 'Mid-Terrace', 'number-open-fireplaces': '0',
'windows-description': 'High performance glazing', 'glazed-area': '', 'inspection-date': '2023-04-17',
'mains-gas-flag': '', 'co2-emiss-curr-per-floor-area': '30', 'address1': 'Flat 2', 'heat-loss-corridor': '',
'flat-storey-count': '', 'constituency-label': 'Hammersmith', 'roof-energy-eff': 'Very Good',
'total-floor-area': '61.0', 'building-reference-number': '10004357458', 'environment-impact-current': '72',
'co2-emissions-current': '1.8', 'roof-description': 'Average thermal transmittance 0.14 W/m-¦K',
'floor-energy-eff': 'Very Good', 'number-habitable-rooms': '', 'address2': '41 Bloemfontein Road',
'hot-water-env-eff': 'Poor', 'posttown': 'LONDON', 'mainheatc-energy-eff': 'Very Good',
'main-fuel': 'Electricity: electricity, unspecified tariff', 'lighting-env-eff': 'Very Good',
'windows-energy-eff': 'Very Good', 'floor-env-eff': 'Very Good', 'sheating-env-eff': 'N/A',
'lighting-description': 'Low energy lighting in all fixed outlets', 'roof-env-eff': 'Very Good',
'walls-energy-eff': 'Good', 'photo-supply': '', 'lighting-cost-potential': '106', 'mainheat-env-eff': 'Poor',
'multi-glaze-proportion': '100', 'main-heating-controls': '', 'lodgement-datetime': '2023-04-17 14:15:14',
'flat-top-storey': 'N', 'current-energy-rating': 'C', 'secondheat-description': 'None', 'walls-env-eff': 'Good',
'transaction-type': 'new dwelling', 'uprn': '34172205', 'current-energy-efficiency': '69',
'energy-consumption-current': '177', 'mainheat-description': 'Boiler and radiators, electric',
'lighting-cost-current': '106', 'lodgement-date': '2023-04-17', 'extension-count': '',
'mainheatc-env-eff': 'Very Good', 'lmk-key': '6959dda1a3323ab73487baf8c7c071d5ed4ae48e405905c71779904c454e6513',
'wind-turbine-count': '0', 'tenure': 'Owner-occupied', 'floor-level': '2', 'potential-energy-efficiency': '69',
'hot-water-energy-eff': 'Very Poor', 'low-energy-lighting': '100',
'walls-description': 'Average thermal transmittance 0.30 W/m-¦K',
'hotwater-description': 'Electric instantaneous at point of use'},
{'low-energy-fixed-light-count': '', 'address': 'Flat 1, 41 Bloemfontein Road', 'uprn-source': 'Energy Assessor',
'floor-height': '2.15', 'heating-cost-potential': '674', 'unheated-corridor-length': '',
'hot-water-cost-potential': '225', 'construction-age-band': '2021', 'potential-energy-rating': 'C',
'mainheat-energy-eff': 'Good', 'windows-env-eff': 'Very Good', 'lighting-energy-eff': 'Very Good',
'environment-impact-potential': '79', 'glazed-type': '', 'heating-cost-current': '674', 'address3': '',
'mainheatcont-description': 'Time and temperature zone control', 'sheating-energy-eff': 'N/A',
'property-type': 'Flat', 'local-authority-label': 'Hammersmith and Fulham', 'fixed-lighting-outlets-count': '12',
'energy-tariff': 'standard tariff', 'mechanical-ventilation': '', 'hot-water-cost-current': '225', 'county': '',
'postcode': 'W12 7BH', 'solar-water-heating-flag': '', 'constituency': 'E14000726',
'co2-emissions-potential': '2.0', 'number-heated-rooms': '',
'floor-description': 'Average thermal transmittance 0.19 W/m-¦K', 'energy-consumption-potential': '108',
'local-authority': 'E09000013', 'built-form': 'Mid-Terrace', 'number-open-fireplaces': '0',
'windows-description': 'High performance glazing', 'glazed-area': '', 'inspection-date': '2023-04-17',
'mains-gas-flag': '', 'co2-emiss-curr-per-floor-area': '19', 'address1': 'Flat 1', 'heat-loss-corridor': '',
'flat-storey-count': '', 'constituency-label': 'Hammersmith', 'roof-energy-eff': 'Good',
'total-floor-area': '103.0', 'building-reference-number': '10004350985', 'environment-impact-current': '79',
'co2-emissions-current': '2.0', 'roof-description': 'Average thermal transmittance 0.16 W/m-¦K',
'floor-energy-eff': 'Very Good', 'number-habitable-rooms': '', 'address2': '41 Bloemfontein Road',
'hot-water-env-eff': 'Good', 'posttown': 'LONDON', 'mainheatc-energy-eff': 'Very Good',
'main-fuel': 'Gas: mains gas', 'lighting-env-eff': 'Very Good', 'windows-energy-eff': 'Very Good',
'floor-env-eff': 'Very Good', 'sheating-env-eff': 'N/A',
'lighting-description': 'Low energy lighting in all fixed outlets', 'roof-env-eff': 'Good',
'walls-energy-eff': 'Good', 'photo-supply': '', 'lighting-cost-potential': '152', 'mainheat-env-eff': 'Good',
'multi-glaze-proportion': '100', 'main-heating-controls': '', 'lodgement-datetime': '2023-04-17 14:15:13',
'flat-top-storey': 'N', 'current-energy-rating': 'C', 'secondheat-description': 'None', 'walls-env-eff': 'Good',
'transaction-type': 'new dwelling', 'uprn': '34172204', 'current-energy-efficiency': '80',
'energy-consumption-current': '108', 'mainheat-description': 'Boiler and radiators, mains gas',
'lighting-cost-current': '152', 'lodgement-date': '2023-04-17', 'extension-count': '',
'mainheatc-env-eff': 'Very Good', 'lmk-key': '90cc959ccbac4f38bbbe68ffd2a6d8ca75190e4670a27fdff6763ece808be2f1',
'wind-turbine-count': '0', 'tenure': 'Owner-occupied', 'floor-level': '1', 'potential-energy-efficiency': '80',
'hot-water-energy-eff': 'Good', 'low-energy-lighting': '100',
'walls-description': 'Average thermal transmittance 0.36 W/m-¦K', 'hotwater-description': 'From main system'},
{'low-energy-fixed-light-count': '', 'address': 'Flat 3, 41 Bloemfontein Road', 'uprn-source': 'Energy Assessor',
'floor-height': '2.65', 'heating-cost-potential': '656', 'unheated-corridor-length': '',
'hot-water-cost-potential': '369', 'construction-age-band': '2021', 'potential-energy-rating': 'C',
'mainheat-energy-eff': 'Very Poor', 'windows-env-eff': 'Very Good', 'lighting-energy-eff': 'Very Good',
'environment-impact-potential': '73', 'glazed-type': '', 'heating-cost-current': '656', 'address3': '',
'mainheatcont-description': 'Time and temperature zone control', 'sheating-energy-eff': 'N/A',
'property-type': 'Flat', 'local-authority-label': 'Hammersmith and Fulham', 'fixed-lighting-outlets-count': '8',
'energy-tariff': 'standard tariff', 'mechanical-ventilation': '', 'hot-water-cost-current': '369', 'county': '',
'postcode': 'W12 7BH', 'solar-water-heating-flag': '', 'constituency': 'E14000726',
'co2-emissions-potential': '1.6', 'number-heated-rooms': '',
'floor-description': 'Average thermal transmittance 0.19 W/m-¦K', 'energy-consumption-potential': '182',
'local-authority': 'E09000013', 'built-form': 'Mid-Terrace', 'number-open-fireplaces': '0',
'windows-description': 'High performance glazing', 'glazed-area': '', 'inspection-date': '2023-04-17',
'mains-gas-flag': '', 'co2-emiss-curr-per-floor-area': '31', 'address1': 'Flat 3', 'heat-loss-corridor': '',
'flat-storey-count': '', 'constituency-label': 'Hammersmith', 'roof-energy-eff': 'Good',
'total-floor-area': '51.0', 'building-reference-number': '10004361653', 'environment-impact-current': '73',
'co2-emissions-current': '1.6', 'roof-description': 'Average thermal transmittance 0.16 W/m-¦K',
'floor-energy-eff': 'Very Good', 'number-habitable-rooms': '', 'address2': '41 Bloemfontein Road',
'hot-water-env-eff': 'Poor', 'posttown': 'LONDON', 'mainheatc-energy-eff': 'Very Good',
'main-fuel': 'Electricity: electricity, unspecified tariff', 'lighting-env-eff': 'Very Good',
'windows-energy-eff': 'Very Good', 'floor-env-eff': 'Very Good', 'sheating-env-eff': 'N/A',
'lighting-description': 'Low energy lighting in all fixed outlets', 'roof-env-eff': 'Good',
'walls-energy-eff': 'Very Good', 'photo-supply': '', 'lighting-cost-potential': '88', 'mainheat-env-eff': 'Poor',
'multi-glaze-proportion': '100', 'main-heating-controls': '', 'lodgement-datetime': '2023-04-17 14:15:15',
'flat-top-storey': 'Y', 'current-energy-rating': 'C', 'secondheat-description': 'None',
'walls-env-eff': 'Very Good', 'transaction-type': 'new dwelling', 'uprn': '34172206',
'current-energy-efficiency': '71', 'energy-consumption-current': '182',
'mainheat-description': 'Boiler and radiators, electric', 'lighting-cost-current': '88',
'lodgement-date': '2023-04-17', 'extension-count': '', 'mainheatc-env-eff': 'Very Good',
'lmk-key': '98aefd25e8693d461c54f6a3a66246f2a20a03d82bf2575700f5fec876046fb7', 'wind-turbine-count': '0',
'tenure': 'Owner-occupied', 'floor-level': '3', 'potential-energy-efficiency': '71',
'hot-water-energy-eff': 'Very Poor', 'low-energy-lighting': '100',
'walls-description': 'Average thermal transmittance 0.22 W/m-¦K',
'hotwater-description': 'Electric instantaneous at point of use'},
{'low-energy-fixed-light-count': '', 'address': 'Flat 3, 14 Bloemfontein Road', 'uprn-source': 'Energy Assessor',
'floor-height': '2.75', 'heating-cost-potential': '433', 'unheated-corridor-length': '',
'hot-water-cost-potential': '296', 'construction-age-band': '2021', 'potential-energy-rating': 'C',
'mainheat-energy-eff': 'Very Poor', 'windows-env-eff': 'Very Good', 'lighting-energy-eff': 'Very Good',
'environment-impact-potential': '75', 'glazed-type': '', 'heating-cost-current': '433', 'address3': '',
'mainheatcont-description': 'Time and temperature zone control', 'sheating-energy-eff': 'N/A',
'property-type': 'Flat', 'local-authority-label': 'Hammersmith and Fulham', 'fixed-lighting-outlets-count': '6',
'energy-tariff': 'standard tariff', 'mechanical-ventilation': '', 'hot-water-cost-current': '296', 'county': '',
'postcode': 'W12 7BX', 'solar-water-heating-flag': '', 'constituency': 'E14000726',
'co2-emissions-potential': '1.1', 'number-heated-rooms': '',
'floor-description': 'Average thermal transmittance 0.19 W/m-¦K', 'energy-consumption-potential': '260',
'local-authority': 'E09000013', 'built-form': 'Mid-Terrace', 'number-open-fireplaces': '0',
'windows-description': 'High performance glazing', 'glazed-area': '', 'inspection-date': '2023-04-17',
'mains-gas-flag': '', 'co2-emiss-curr-per-floor-area': '44', 'address1': 'Flat 3', 'heat-loss-corridor': '',
'flat-storey-count': '', 'constituency-label': 'Hammersmith', 'roof-energy-eff': 'Good',
'total-floor-area': '25.0', 'building-reference-number': '10004361390', 'environment-impact-current': '75',
'co2-emissions-current': '1.1', 'roof-description': 'Average thermal transmittance 0.15 W/m-¦K',
'floor-energy-eff': 'Very Good', 'number-habitable-rooms': '', 'address2': '14 Bloemfontein Road',
'hot-water-env-eff': 'Poor', 'posttown': 'LONDON', 'mainheatc-energy-eff': 'Very Good',
'main-fuel': 'Electricity: electricity, unspecified tariff', 'lighting-env-eff': 'Very Good',
'windows-energy-eff': 'Very Good', 'floor-env-eff': 'Very Good', 'sheating-env-eff': 'N/A',
'lighting-description': 'Low energy lighting in all fixed outlets', 'roof-env-eff': 'Good',
'walls-energy-eff': 'Good', 'photo-supply': '', 'lighting-cost-potential': '50', 'mainheat-env-eff': 'Poor',
'multi-glaze-proportion': '100', 'main-heating-controls': '', 'lodgement-datetime': '2023-04-17 14:07:32',
'flat-top-storey': 'Y', 'current-energy-rating': 'C', 'secondheat-description': 'None', 'walls-env-eff': 'Good',
'transaction-type': 'new dwelling', 'uprn': '34172209', 'current-energy-efficiency': '72',
'energy-consumption-current': '260', 'mainheat-description': 'Boiler and radiators, electric',
'lighting-cost-current': '50', 'lodgement-date': '2023-04-17', 'extension-count': '',
'mainheatc-env-eff': 'Very Good', 'lmk-key': 'a7d3f17752b602b00b31000c506d814d5bf81704f8f2176555580fe3b6568bdf',
'wind-turbine-count': '0', 'tenure': 'Owner-occupied', 'floor-level': '3', 'potential-energy-efficiency': '72',
'hot-water-energy-eff': 'Very Poor', 'low-energy-lighting': '100',
'walls-description': 'Average thermal transmittance 0.30 W/m-¦K',
'hotwater-description': 'Electric instantaneous at point of use'},
{'low-energy-fixed-light-count': '', 'address': '143, Parkside Apartments, Cascade Way', 'uprn-source': '',
'floor-height': '2.5', 'heating-cost-potential': '1199', 'unheated-corridor-length': '',
'hot-water-cost-potential': '193', 'construction-age-band': '2020', 'potential-energy-rating': 'B',
'mainheat-energy-eff': 'Very Good', 'windows-env-eff': 'Very Good', 'lighting-energy-eff': 'Very Good',
'environment-impact-potential': '88', 'glazed-type': '', 'heating-cost-current': '1199', 'address3': 'Cascade Way',
'mainheatcont-description': 'Charging system linked to use of community heating, programmer and at least two '
'room stats',
'sheating-energy-eff': 'N/A', 'property-type': 'Flat', 'local-authority-label': 'Hammersmith and Fulham',
'fixed-lighting-outlets-count': '50', 'energy-tariff': 'standard tariff', 'mechanical-ventilation': '',
'hot-water-cost-current': '193', 'county': '', 'postcode': 'W12 7RE', 'solar-water-heating-flag': '',
'constituency': 'E14000726', 'co2-emissions-potential': '1.9', 'number-heated-rooms': '',
'floor-description': 'Average thermal transmittance 0.15 W/m-¦K', 'energy-consumption-potential': '52',
'local-authority': 'E09000013', 'built-form': 'Semi-Detached', 'number-open-fireplaces': '0',
'windows-description': 'High performance glazing', 'glazed-area': '', 'inspection-date': '2023-03-31',
'mains-gas-flag': '', 'co2-emiss-curr-per-floor-area': '10', 'address1': '143', 'heat-loss-corridor': '',
'flat-storey-count': '', 'constituency-label': 'Hammersmith', 'roof-energy-eff': 'Very Good',
'total-floor-area': '185.0', 'building-reference-number': '10004107647', 'environment-impact-current': '88',
'co2-emissions-current': '1.9', 'roof-description': 'Average thermal transmittance 0.10 W/m-¦K',
'floor-energy-eff': 'Very Good', 'number-habitable-rooms': '', 'address2': 'Parkside Apartments',
'hot-water-env-eff': 'Very Good', 'posttown': 'London', 'mainheatc-energy-eff': 'Good', 'main-fuel': '',
'lighting-env-eff': 'Very Good', 'windows-energy-eff': 'Very Good', 'floor-env-eff': 'Very Good',
'sheating-env-eff': 'N/A', 'lighting-description': 'Low energy lighting in all fixed outlets',
'roof-env-eff': 'Very Good', 'walls-energy-eff': 'Average', 'photo-supply': '', 'lighting-cost-potential': '207',
'mainheat-env-eff': 'Very Good', 'multi-glaze-proportion': '100', 'main-heating-controls': '',
'lodgement-datetime': '2023-03-31 05:10:35', 'flat-top-storey': 'Y', 'current-energy-rating': 'B',
'secondheat-description': 'None', 'walls-env-eff': 'Average', 'transaction-type': 'new dwelling', 'uprn': '',
'current-energy-efficiency': '82', 'energy-consumption-current': '52', 'mainheat-description': 'Community scheme',
'lighting-cost-current': '207', 'lodgement-date': '2023-03-31', 'extension-count': '', 'mainheatc-env-eff': 'Good',
'lmk-key': '76f71689c3af20210abc756f76ed244254ec5282ceb6a1b2bec48707ebc3acdf', 'wind-turbine-count': '0',
'tenure': 'Not defined - use in the case of a new dwelling for which the intended tenure in not known. It is no',
'floor-level': '3', 'potential-energy-efficiency': '82', 'hot-water-energy-eff': 'Very Good',
'low-energy-lighting': '100', 'walls-description': 'Average thermal transmittance 0.92 W/m-¦K',
'hotwater-description': 'Community scheme'},
{'low-energy-fixed-light-count': '', 'address': '1 Southerton Mews', 'uprn-source': '', 'floor-height': '2.45',
'heating-cost-potential': '226', 'unheated-corridor-length': '', 'hot-water-cost-potential': '292',
'construction-age-band': '2022', 'potential-energy-rating': 'B', 'mainheat-energy-eff': 'Average',
'windows-env-eff': 'Very Good', 'lighting-energy-eff': 'Very Good', 'environment-impact-potential': '84',
'glazed-type': '', 'heating-cost-current': '226', 'address3': '',
'mainheatcont-description': 'Programmer and room thermostat', 'sheating-energy-eff': 'N/A',
'property-type': 'Flat', 'local-authority-label': 'Hammersmith and Fulham', 'fixed-lighting-outlets-count': '10',
'energy-tariff': 'standard tariff', 'mechanical-ventilation': '', 'hot-water-cost-current': '292', 'county': '',
'postcode': 'W6 0PR', 'solar-water-heating-flag': '', 'constituency': 'E14000726',
'co2-emissions-potential': '1.4', 'number-heated-rooms': '',
'floor-description': 'Average thermal transmittance 0.13 W/m-¦K', 'energy-consumption-potential': '101',
'local-authority': 'E09000013', 'built-form': 'End-Terrace', 'number-open-fireplaces': '0',
'windows-description': 'High performance glazing', 'glazed-area': '', 'inspection-date': '2023-02-03',
'mains-gas-flag': '', 'co2-emiss-curr-per-floor-area': '17', 'address1': '1 Southerton Mews',
'heat-loss-corridor': '', 'flat-storey-count': '', 'constituency-label': 'Hammersmith',
'roof-energy-eff': 'Very Good', 'total-floor-area': '81.0', 'building-reference-number': '10003943973',
'environment-impact-current': '84', 'co2-emissions-current': '1.4',
'roof-description': 'Average thermal transmittance 0.12 W/m-¦K', 'floor-energy-eff': 'Very Good',
'number-habitable-rooms': '', 'address2': '', 'hot-water-env-eff': 'Average', 'posttown': 'London',
'mainheatc-energy-eff': 'Average', 'main-fuel': 'Electricity: electricity, unspecified tariff',
'lighting-env-eff': 'Very Good', 'windows-energy-eff': 'Very Good', 'floor-env-eff': 'Very Good',
'sheating-env-eff': 'N/A', 'lighting-description': 'Low energy lighting in all fixed outlets',
'roof-env-eff': 'Very Good', 'walls-energy-eff': 'Very Good', 'photo-supply': '', 'lighting-cost-potential': '84',
'mainheat-env-eff': 'Good', 'multi-glaze-proportion': '100', 'main-heating-controls': '',
'lodgement-datetime': '2023-02-03 14:12:27', 'flat-top-storey': 'N', 'current-energy-rating': 'B',
'secondheat-description': 'None', 'walls-env-eff': 'Very Good', 'transaction-type': 'new dwelling', 'uprn': '',
'current-energy-efficiency': '82', 'energy-consumption-current': '101',
'mainheat-description': 'Air source heat pump, radiators, electric', 'lighting-cost-current': '84',
'lodgement-date': '2023-02-03', 'extension-count': '', 'mainheatc-env-eff': 'Average',
'lmk-key': '0332b4fed03e3e6d20c869714c5c9991f1438ef62594cee4b092d55333abd494', 'wind-turbine-count': '0',
'tenure': 'Not defined - use in the case of a new dwelling for which the intended tenure in not known. It is no',
'floor-level': '1', 'potential-energy-efficiency': '82', 'hot-water-energy-eff': 'Poor',
'low-energy-lighting': '100', 'walls-description': 'Average thermal transmittance 0.16 W/m-¦K',
'hotwater-description': 'From main system'},
{'low-energy-fixed-light-count': '', 'address': '4 Southerton Mews', 'uprn-source': '', 'floor-height': '2.45',
'heating-cost-potential': '246', 'unheated-corridor-length': '', 'hot-water-cost-potential': '290',
'construction-age-band': '2022', 'potential-energy-rating': 'B', 'mainheat-energy-eff': 'Average',
'windows-env-eff': 'Very Good', 'lighting-energy-eff': 'Very Good', 'environment-impact-potential': '83',
'glazed-type': '', 'heating-cost-current': '246', 'address3': '',
'mainheatcont-description': 'Programmer and room thermostat', 'sheating-energy-eff': 'N/A',
'property-type': 'Flat', 'local-authority-label': 'Hammersmith and Fulham', 'fixed-lighting-outlets-count': '10',
'energy-tariff': 'standard tariff', 'mechanical-ventilation': '', 'hot-water-cost-current': '290', 'county': '',
'postcode': 'W6 0PR', 'solar-water-heating-flag': '', 'constituency': 'E14000726',
'co2-emissions-potential': '1.4', 'number-heated-rooms': '',
'floor-description': 'Average thermal transmittance 0.13 W/m-¦K', 'energy-consumption-potential': '105',
'local-authority': 'E09000013', 'built-form': 'End-Terrace', 'number-open-fireplaces': '0',
'windows-description': 'High performance glazing', 'glazed-area': '', 'inspection-date': '2023-02-03',
'mains-gas-flag': '', 'co2-emiss-curr-per-floor-area': '18', 'address1': '4 Southerton Mews',
'heat-loss-corridor': '', 'flat-storey-count': '', 'constituency-label': 'Hammersmith',
'roof-energy-eff': 'Very Good', 'total-floor-area': '80.0', 'building-reference-number': '10004009725',
'environment-impact-current': '83', 'co2-emissions-current': '1.4',
'roof-description': 'Average thermal transmittance 0.11 W/m-¦K', 'floor-energy-eff': 'Very Good',
'number-habitable-rooms': '', 'address2': '', 'hot-water-env-eff': 'Average', 'posttown': 'London',
'mainheatc-energy-eff': 'Average', 'main-fuel': 'Electricity: electricity, unspecified tariff',
'lighting-env-eff': 'Very Good', 'windows-energy-eff': 'Very Good', 'floor-env-eff': 'Very Good',
'sheating-env-eff': 'N/A', 'lighting-description': 'Low energy lighting in all fixed outlets',
'roof-env-eff': 'Very Good', 'walls-energy-eff': 'Very Good', 'photo-supply': '', 'lighting-cost-potential': '81',
'mainheat-env-eff': 'Good', 'multi-glaze-proportion': '100', 'main-heating-controls': '',
'lodgement-datetime': '2023-02-03 14:14:19', 'flat-top-storey': 'N', 'current-energy-rating': 'B',
'secondheat-description': 'None', 'walls-env-eff': 'Very Good', 'transaction-type': 'new dwelling', 'uprn': '',
'current-energy-efficiency': '81', 'energy-consumption-current': '105',
'mainheat-description': 'Air source heat pump, radiators, electric', 'lighting-cost-current': '81',
'lodgement-date': '2023-02-03', 'extension-count': '', 'mainheatc-env-eff': 'Average',
'lmk-key': 'e01a48dc015119690eb2aca4b469b77910e1514cdcb098ac6bf97649abe9d062', 'wind-turbine-count': '0',
'tenure': 'Not defined - use in the case of a new dwelling for which the intended tenure in not known. It is no',
'floor-level': '1', 'potential-energy-efficiency': '81', 'hot-water-energy-eff': 'Poor',
'low-energy-lighting': '100', 'walls-description': 'Average thermal transmittance 0.16 W/m-¦K',
'hotwater-description': 'From main system'},
{'low-energy-fixed-light-count': '', 'address': 'Flat 1, 209A Fulham Palace Road', 'uprn-source': '',
'floor-height': '2.95', 'heating-cost-potential': '214', 'unheated-corridor-length': '',
'hot-water-cost-potential': '66', 'construction-age-band': '2022', 'potential-energy-rating': 'C',
'mainheat-energy-eff': 'Good', 'windows-env-eff': 'Very Good', 'lighting-energy-eff': 'Very Good',
'environment-impact-potential': '79', 'glazed-type': '', 'heating-cost-current': '214', 'address3': '',
'mainheatcont-description': 'Time and temperature zone control', 'sheating-energy-eff': 'N/A',
'property-type': 'Flat', 'local-authority-label': 'Hammersmith and Fulham', 'fixed-lighting-outlets-count': '1',
'energy-tariff': 'standard tariff', 'mechanical-ventilation': '', 'hot-water-cost-current': '66', 'county': '',
'postcode': 'W6 8QX', 'solar-water-heating-flag': '', 'constituency': 'E14000726',
'co2-emissions-potential': '1.2', 'number-heated-rooms': '',
'floor-description': 'Average thermal transmittance 0.12 W/m-¦K', 'energy-consumption-potential': '145',
'local-authority': 'E09000013', 'built-form': 'Detached', 'number-open-fireplaces': '0',
'windows-description': 'High performance glazing', 'glazed-area': '', 'inspection-date': '2022-07-06',
'mains-gas-flag': '', 'co2-emiss-curr-per-floor-area': '25', 'address1': 'Flat 1 ', 'heat-loss-corridor': '',
'flat-storey-count': '', 'constituency-label': 'Hammersmith', 'roof-energy-eff': 'Good',
'total-floor-area': '46.0', 'building-reference-number': '10003297683', 'environment-impact-current': '79',
'co2-emissions-current': '1.2', 'roof-description': 'Average thermal transmittance 0.16 W/m-¦K',
'floor-energy-eff': 'Very Good', 'number-habitable-rooms': '', 'address2': '209A Fulham Palace Road',
'hot-water-env-eff': 'Good', 'posttown': 'LONDON', 'mainheatc-energy-eff': 'Very Good',
'main-fuel': 'Gas: mains gas', 'lighting-env-eff': 'Very Good', 'windows-energy-eff': 'Very Good',
'floor-env-eff': 'Very Good', 'sheating-env-eff': 'N/A',
'lighting-description': 'Low energy lighting in all fixed outlets', 'roof-env-eff': 'Good',
'walls-energy-eff': 'Very Good', 'photo-supply': '', 'lighting-cost-potential': '42', 'mainheat-env-eff': 'Good',
'multi-glaze-proportion': '100', 'main-heating-controls': '', 'lodgement-datetime': '2022-07-06 08:39:46',
'flat-top-storey': 'N', 'current-energy-rating': 'C', 'secondheat-description': 'None',
'walls-env-eff': 'Very Good', 'transaction-type': 'new dwelling', 'uprn': '', 'current-energy-efficiency': '77',
'energy-consumption-current': '145', 'mainheat-description': 'Boiler and radiators, mains gas',
'lighting-cost-current': '42', 'lodgement-date': '2022-07-06', 'extension-count': '',
'mainheatc-env-eff': 'Very Good', 'lmk-key': '427710397a10def8490b0752d99ce24b0f44eb39b77c7141cc74afa86e478df1',
'wind-turbine-count': '0',
'tenure': 'Not defined - use in the case of a new dwelling for which the intended tenure in not known. It is no',
'floor-level': '2', 'potential-energy-efficiency': '77', 'hot-water-energy-eff': 'Good',
'low-energy-lighting': '100', 'walls-description': 'Average thermal transmittance 0.29 W/m-¦K',
'hotwater-description': 'From main system'}
]

View file

@ -1,56 +0,0 @@
import pytest
from epc_api.client import EpcClient
from model_data.downloader import pagenated_epc_download
# Mock EPC search response
mock_epc_response = {
"rows": [
{"data1": "value1"},
{"data2": "value2"},
]
}
class TestDownloader:
@pytest.fixture
def mock_client(self, mocker):
# mocker is a wrapper around unittest.mock.Mock, extending with
# additional features specific to pytest
client = mocker.Mock(spec=EpcClient(auth_token="123"))
client.domestic.search.return_value = mock_epc_response
return client
def test_pagenated_epc_download_basic(self, mock_client):
params = {"address": "Test Address", "postcode": "AB12CD"}
page_size = len(mock_epc_response["rows"])
n_pages = 1
results = pagenated_epc_download(mock_client, params, page_size, n_pages, verbose=1)
assert len(results) == page_size * n_pages
assert results == mock_epc_response["rows"]
mock_client.domestic.search.assert_called_with(params=params, offset_from=0, size=page_size)
def test_pagenated_epc_download_multiple_pages(self, mock_client):
params = {"address": "Test Address", "postcode": "AB12CD"}
page_size = len(mock_epc_response["rows"])
n_pages = 2
results = pagenated_epc_download(mock_client, params, page_size, n_pages)
assert len(results) == page_size * n_pages
assert results == mock_epc_response["rows"] * n_pages
mock_client.domestic.search.assert_called_with(params=params, offset_from=page_size, size=page_size)
def test_pagenated_epc_download_search_returns_none(self, mock_client):
mock_client.domestic.search.return_value = None # Mock the search method to return None
params = {"address": "Test Address", "postcode": "AB12CD"}
page_size = 1
n_pages = 1
results = pagenated_epc_download(mock_client, params, page_size, n_pages)
assert results == []