From 8dcb6a9be0f903fc06e4c9dcb3218bb1d6db949e Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Wed, 6 Mar 2024 21:11:17 +0000 Subject: [PATCH] 11% through matching ha38 --- etl/eligibility/ha_15_32/ha_analysis_batch_3.py | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/etl/eligibility/ha_15_32/ha_analysis_batch_3.py b/etl/eligibility/ha_15_32/ha_analysis_batch_3.py index 553f6271..6998eb4b 100644 --- a/etl/eligibility/ha_15_32/ha_analysis_batch_3.py +++ b/etl/eligibility/ha_15_32/ha_analysis_batch_3.py @@ -1054,6 +1054,17 @@ class DataLoader: 'Kingsford Court, Coombe Valley Road', 'Kingsford Court' ) + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace( + 'LESLIE TEW COURT/DERWENT ROAD', 'LESLIE TEW COURT' + ) + + # There is no 18A LESLIE TEW COURT in the asset list + survey_list = survey_list[ + ~((survey_list["Street / Block Name"] == "LESLIE TEW COURT") & + (survey_list["Post Code"] == "TN10 3TX") & + (survey_list["NO."] == "18A")) + ] + return survey_list @staticmethod @@ -3848,12 +3859,10 @@ def app(): # Grab the December HA figures filepath december_figures_filepath = "local_data/ha_data/HA_December_figures.csv" - # priority_has = [ - # "HA1", "HA6", "HA7", "HA14", "HA15", "HA16", "HA24", "HA25", "HA28", "HA32", "HA38", "HA39", "HA107", - # ] + # Add in: "HA25" # TODO: Remove ECO3 sales from HA25 priority_has = [ - "HA1", "HA6", "HA7", "HA14", "HA15", "HA16", "HA24", "HA28", "HA32", "HA39", "HA107", + "HA1", "HA6", "HA7", "HA14", "HA15", "HA16", "HA24", "HA28", "HA32", "HA38", "HA39", "HA107", ] # Next HAs to do: 15[DONE], 32 [DONE], 33 [Input format is 4 parts and no eco4 jobs identified - come back on this], # Then: 28 [DONE],