minor tidy

This commit is contained in:
Khalim Conn-Kowlessar 2025-09-22 22:36:47 +01:00
parent a22db51be9
commit e410e8d9c8

View file

@ -1,12 +1,8 @@
import json
import os
import pandas as pd
from datetime import datetime
from docutils.nodes import table
def years_between(d1, d2):
# precise year difference (accounts for months/days)
@ -35,15 +31,6 @@ def append_result(decent_homes_meta, criteria, variable, sub_variable, result, i
folder = "/Users/khalimconn-kowlessar/Documents/hestia/Customers/Waltham Forest/Decent Homes Pilot"
filenames = ["flat 1.json", "house 1.json"]
houses_waltham_forest_data = pd.read_excel(
os.path.join(folder, "LBWF - Example Asset Data September 2025.xlsx"),
sheet_name="Houses Asset Data"
)
flats_waltham_forest_data = pd.read_excel(
os.path.join(folder, "LBWF - Example Asset Data September 2025.xlsx"),
sheet_name="CHINGFORD ROAD 236-254 Asset Bl"
)
# Standardised variables which will form the enums in the db
HHSRS_VARIABLES = [
"damp_and_mould_growth",