Added back in filling of age with national average

This commit is contained in:
Khalim Conn-Kowlessar 2024-01-24 12:59:56 +00:00
parent 60e3221fa3
commit f5d780a1b0
2 changed files with 24 additions and 1 deletions

View file

@ -610,6 +610,27 @@ def get_epc_data(
)
def analyse_ha_data():
"""
The approach we take within this function is the following:
For properties that have been identified by warmfront as eligible properties, characterise them by scheme. The
characterisation can be broken down as the following:
1) The property has been identified by Warmfront and is eligible for ECO4/GBIS work, under the strictest criteria
2) The property has been identified by Warmfront, however it has a full cavity, and therefore would be subject to
a CIGA check
3) The property has been identified by Warmfront, but the EPC shows that the property has more than 100mm loft
insulation
4) The property has been identified by Warmfront, but doesn't look like a property that would likely qualify under
any cirsumstances, given the available data
Then, for any property that has NOT been identifid by Warmfront, we identify properties that look like they would
qualify under the strictest criteria, and mark these as potential additional opportunities.
:return:
"""
pass
def app():
"""
This app contains the housign association analysis for HAs 1, 6, 14, 39 and 107.

View file

@ -645,7 +645,9 @@ class EPCRecord:
self.prepared_epc["construction-age-band"] = self.construction_age_band
if self.age_band is None:
raise ValueError("age_band is missing")
self.age_band = "C"
self.construction_age_band = "England and Wales: 1930-1949"
self.prepared_epc["construction-age-band"] = self.construction_age_band
def _clean_year_built(self):
"""