Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #67
Description
Add new script to generate open dataset with summary data per LSOA.
Prepare dataset for public sharing which includes summary data for each feature per LSOA.
Features to add:
median garden size estimate
property density
rural/urban status
proportion in building conservation area
proportion listed buildings
proportion with EPC C+
proportion of flats
proportion off gas
Also required: scores per tech type, n_properties, and use_weights/scores_weighted flag.
Instructions for Reviewer
In order to test the code in this PR you need to run the following command:
python -i asf_heat_pump_suitability/pipeline/run_scripts/run_generate_open_dataset.py --property_suitability s3://asf-heat-pump-suitability/outputs/2023Q4/20240905_2023_Q4_heat_pump_suitability_per_property.parquet --lsoa_suitability s3://asf-heat-pump-suitability/outputs/2023Q4/20240905_2023_Q4_heat_pump_suitability_per_lsoa.parquet -y 2023 -q 4
Please pay special attention to:
Checklist:
notebooks/
pre-commit
and addressed any issues not automatically fixeddev
README
s