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 5b2cefcd..ff717f86 100644 --- a/etl/eligibility/ha_15_32/ha_analysis_batch_3.py +++ b/etl/eligibility/ha_15_32/ha_analysis_batch_3.py @@ -204,6 +204,21 @@ class DataLoader: # Remove full stops from the street name survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace(".", "") + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace( + "Chatworth road", "Chatsworth Place" + ) + + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace( + "Wood Croft", "Woodcroft" + ) + + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace( + "Milstone Avenue", "Millstone Avenue" + ) + + # Strip out /TALKE from the street name + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace("/TALKE", "") + matching_lookup = [] for _, row in tqdm(survey_list.iterrows(), total=len(survey_list)): house_number = row["NO."]