From 3f59350ea34121f83288efa989062c11a4e10b11 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Tue, 16 Sep 2025 19:43:38 +0100 Subject: [PATCH] save --- deployment/lambda/walthamforest_etl/docker/app.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/deployment/lambda/walthamforest_etl/docker/app.py b/deployment/lambda/walthamforest_etl/docker/app.py index 535ddd0..1f9b570 100644 --- a/deployment/lambda/walthamforest_etl/docker/app.py +++ b/deployment/lambda/walthamforest_etl/docker/app.py @@ -108,6 +108,10 @@ def combine_records_for_flats(assets: dict, simple: list) -> dict: return assets +def get_energy_information(): + df = pd.read_excel("../../../../../home/Downloads/data.xlsx", sheet_name="") + # add uprn to everything + def handler(event, context): # read data for houses only assets = process_complex("Houses Asset Data") @@ -120,5 +124,7 @@ def handler(event, context): flats = combine_records_for_flats(assets, simple) - + + +# run a script that upload to s3 -> uprn -> jsonified -> walthamforest -> uri