Gap analysis between OEDInputFields.csv and DatabaseProjectOED.sql identified several issues to fix:
- Add PV fields (PVControlType, PVGlassThickness, PVMaterial, PVMounting, PVPanelArea, PVPanelAreaUnit, PVPanelYear, PVStowing, PVTiltAngle) to _import_location and LocationDetail
- Implement Account-level financial terms (AccDed*/AccLimit*) - AccountTerm table exists but usp_Terms_Load has a TODO comment with no implementation
- Fix 122 systematic case mismatches (BI->Bi, PD->Pd, XX->Xx, TIV->Tiv, ID->Id, LOB->Lob etc)
- Add RI staging tables (_staging_riinfo, _staging_riscope, _import_riinfo, _import_riscope) to SQL schema
- Fix load_sql.py: remove head(10) on location, uncomment usp_Database_Load call, fix RI table names
- Add StepPolicy table and load procedure for step-function fields at policy level
Out of scope: cyber fields, occupant demographics, full reinsurance normalised model (separate issue).
Related files: SQL/SQL_Scripts/DatabaseProjectOED.sql, SQL/load_sql.py, OpenExposureData/OEDInputFields.csv
Gap analysis between OEDInputFields.csv and DatabaseProjectOED.sql identified several issues to fix:
Out of scope: cyber fields, occupant demographics, full reinsurance normalised model (separate issue).
Related files: SQL/SQL_Scripts/DatabaseProjectOED.sql, SQL/load_sql.py, OpenExposureData/OEDInputFields.csv