From c84be65e8defa04aa1453f80b53d073c9011a629 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Thu, 7 Mar 2024 19:52:08 +0000 Subject: [PATCH] ha48 ciga unmatched count added --- etl/eligibility/ha_15_32/ha_analysis_batch_3.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 b22ea273..56867ef7 100644 --- a/etl/eligibility/ha_15_32/ha_analysis_batch_3.py +++ b/etl/eligibility/ha_15_32/ha_analysis_batch_3.py @@ -159,6 +159,10 @@ class DataLoader: "HA25": { "address": "T1_Address", "postcode": "matching_postcode" + }, + "HA48": { + "address": "Full Address", + "postcode": "Postcode" } } @@ -170,6 +174,7 @@ class DataLoader: "HA24": 12, "HA50": 4, "HA107": 51, + "HA48": 0 } UNMATCHED_ECO3 = { @@ -190,7 +195,7 @@ class DataLoader: def create_asset_list_matching_address(self, ha_name, asset_list): - if ha_name in ["HA1", "HA6", "HA16", "HA24"]: + if ha_name in ["HA1", "HA6", "HA16", "HA24", "HA48"]: asset_list["matching_address"] = asset_list[ self.COLUMN_CONFIG[ha_name]["address"] ].astype(str).str.lower().str.strip()