transform things

This commit is contained in:
Jun-te Kim 2025-03-13 16:28:38 +00:00
parent d03341bbb2
commit 6eaaed7c3f

View file

@ -30,8 +30,8 @@ class QuidosSiteNotesExtractor(SiteNotesExtractor):
"""
A function to read QUIDOS SITE REPORT and get all data
"""
self.get_summary_information()
self.get_section_1_and_2_and_3()
self.transform_summary_information()
self.transform_sections()
# self.get_section_4()
# self.get_section_5()
# self.get_section_6()
@ -55,7 +55,7 @@ class QuidosSiteNotesExtractor(SiteNotesExtractor):
# self.get_section_21()
# self.get_section_22()
def get_summary_information(self):
def transform_summary_information(self):
# Summary Information
avoid = [
"Reference Number",
@ -143,7 +143,8 @@ class QuidosSiteNotesExtractor(SiteNotesExtractor):
address = assessor_address,
)
def get_section_1_and_2_and_3(self):
def transform_sections(self):
# Section 1
data = self.get_data_between("1.0 Property Type","2.0 Number Of")
avoid = [