mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-08 11:17:29 +00:00
q16
This commit is contained in:
parent
4d30ef039a
commit
a4e916d68c
1 changed files with 27 additions and 0 deletions
|
|
@ -40,6 +40,8 @@ class QuidosSiteNotes(SiteNotesExtractor):
|
|||
self.get_section_14_1()
|
||||
self.get_section_14_2()
|
||||
self.get_section_15_0()
|
||||
self.get_section_15_1()
|
||||
self.get_section_16()
|
||||
|
||||
def get_summary_information(self):
|
||||
# Summary Information
|
||||
|
|
@ -461,6 +463,31 @@ class QuidosSiteNotes(SiteNotesExtractor):
|
|||
]
|
||||
self.two_columns_processor(data, sub_titles, avoid, 15.0)
|
||||
|
||||
def get_section_15_1(self):
|
||||
data = self.raw_data[self.raw_data.index("15.1 Hot Water Cylinder"):self.raw_data.index("16.0 Solar Water Heating")]
|
||||
sub_tites = [
|
||||
"Volume",
|
||||
"Insulation Type",
|
||||
"Insulation Thickness",
|
||||
"Thermostat",
|
||||
]
|
||||
avoid = [
|
||||
"16.0 Solar Water Heating",
|
||||
"15.1 Hot Water Cylinder"
|
||||
]
|
||||
self.two_columns_processor(data, sub_tites, avoid, 15.1)
|
||||
|
||||
def get_section_16(self):
|
||||
data = self.raw_data[self.raw_data.index("16.0 Solar Water Heating"):self.raw_data.index("17.0 Waste Water Heat Recovery System")]
|
||||
avoid = [
|
||||
"16.0 Solar Water Heating",
|
||||
"17.0 Waste Water Heat Recovery System",
|
||||
]
|
||||
sub_titles = [
|
||||
"Solar Water Heating Details Known?"
|
||||
]
|
||||
|
||||
self.two_columns_processor(data, sub_titles, avoid, 16.0)
|
||||
# Extract
|
||||
# Transform ( wiht validation pydantnic)
|
||||
# Load
|
||||
Loading…
Add table
Reference in a new issue