ppa.SCHEMA.to_pandas() returns the core columns as a DataFrame.
| Table | Required | Key |
|---|---|---|
policies | Optional | policy_id |
submissions | Yes | submission_id |
drivers | Yes | submission_id, driver_id |
vehicles | Yes | submission_id, vehicle_id |
incidents | Optional | submission_id, incident_id |
coverages | Optional | submission_id, vehicle_id, coverage_id |
other_policies | Optional | submission_id, other_policy_id |
policies
Key: policy_id. Optional table.
| Column | Type | Unit | Values | Required | Meaning |
|---|---|---|---|---|---|
start_date | date | The date the policy first took effect. |
submissions
Key: submission_id. Required table.
| Column | Type | Unit | Values | Required | Meaning |
|---|---|---|---|---|---|
policy_id | id | Yes | The policy the submission prices. | ||
effective_date | date | Yes | The date the rated term starts. | ||
term_months | int | months | The length of the rated term. | ||
residence_postal_code | text | The postal code where the applicant lives. | |||
transaction | enum | new_business, renewal | Whether the submission prices a new policy or the renewal of an existing one. |
drivers
Key: submission_id, driver_id. Required table.
| Column | Type | Unit | Values | Required | Meaning |
|---|---|---|---|---|---|
relationship | enum | applicant, spouse, child, other | The driver’s relationship to the applicant. | ||
rated | enum | rated, excluded, listed | Whether the policy rates the driver, excludes them, or only lists them. | ||
birth_date | date | The driver’s date of birth. | |||
marital_status | enum | single, married, divorced, widowed, separated, domestic_partner | The driver’s marital status. | ||
occupation | text | The driver’s occupation, such as teacher. | |||
first_licensed_date | date | The date the driver was first licensed to drive. | |||
first_licensed_country | text | The country that issued the driver’s first license, as an ISO 3166-1 alpha-2 code, such as US. | |||
license_country | text | The country that issued the driver’s current license, as an ISO 3166-1 alpha-2 code, such as CA. | |||
licensed_in_country_date | date | The date the driver was first licensed in the country of their current license. | |||
history_complete_from | date | The first day of the period for which incidents lists every incident of the driver. | |||
history_complete_through | date | The last day of the period for which incidents lists every incident of the driver. | |||
financial_responsibility_filing | bool | Whether the driver needs a financial responsibility filing, such as an SR-22. | |||
good_student | bool | Whether the driver meets a good student standard. | |||
away_at_school | bool | Whether the driver is a student who lives at school, away from the household’s vehicles. | |||
defensive_course_date | date | The date the driver completed an approved driver improvement course. | |||
driver_training_date | date | The date the driver completed an approved driver training course. |
vehicles
Key: submission_id, vehicle_id. Required table.
| Column | Type | Unit | Values | Required | Meaning |
|---|---|---|---|---|---|
vin | text | The vehicle identification number. | |||
model_year | int | The vehicle’s model year. | |||
make | text | The vehicle’s make, such as Honda. | |||
model | text | The vehicle’s model, such as HR-V. | |||
driver_id | id | The vehicle’s principal driver, if declared; else the rater assigns one. | |||
garaging_postal_code | text | The postal code where the vehicle is garaged. | |||
use | enum | pleasure, commute, business, farm | How the vehicle is mainly used. | ||
rideshare | bool | Whether the vehicle carries paying passengers or goods. | |||
annual_mileage | int | miles | Distance the vehicle is driven in a year. | ||
mileage_source | enum | estimated, odometer, telematics | Where the annual mileage comes from. | ||
anti_theft | enum | none, passive, active, recovery | The vehicle’s anti-theft protection. | ||
custom_equipment_value | number | USD | The value of equipment added beyond the factory build. | ||
purchase_date | date | The date the vehicle was bought or leased. | |||
lienholder | text | The lender or lessor with an interest in the vehicle, if any. | |||
title_brand | enum | none, salvage, rebuilt, flood, junk, lemon | The brand on the vehicle’s title, such as salvage, as a title history report shows it. |
incidents
Key: submission_id, incident_id. Optional table.
| Column | Type | Unit | Values | Required | Meaning |
|---|---|---|---|---|---|
driver_id | id | The driver the incident is charged to, if any. | |||
vehicle_id | id | The vehicle the incident or claim is on, if any. | |||
occurrence_id | text | The event the row records; rows with the same ID, such as an accident and its citation, are one occurrence. | |||
kind | enum | violation, accident, claim | What happened. | ||
occurrence_date | date | The date the violation, accident or loss occurred. | |||
conviction_date | date | The date of a violation’s conviction. | |||
violation_code | text | The statute a violation is charged under, such as VC 22350. | |||
at_fault | bool | Whether the driver was principally at fault (51% or more). | |||
injury | bool | Whether the incident caused bodily injury or death. | |||
damage_amount | number | USD | Property damage from the incident. | ||
disposition | enum | convicted, nolo_contendere, bail_forfeited, dismissed, traffic_school | How a violation was resolved. | ||
violation_jurisdiction | text | Where the violation was charged, as an ISO 3166-2 code, such as US-CA. |
coverages
Key: submission_id, vehicle_id, coverage_id. Optional table.
coverage_id is one of bodily_injury, property_damage, combined_single_limit, medical_payments, uninsured_motorist_bodily_injury, uninsured_motorist_property_damage, comprehensive, collision, collision_deductible_waiver, rental, roadside, loan_gap, custom_equipment.
| Column | Type | Unit | Values | Required | Meaning |
|---|---|---|---|---|---|
deductible | number | USD | The deductible. | ||
limit | number | USD | A single or combined limit. | ||
limit_per_day | number | USD | A daily limit, such as rental’s amount per day. | ||
limit_per_person | number | USD | A split limit’s amount per person. | ||
limit_per_accident | number | USD | A split limit’s amount per accident. |
other_policies
Key: submission_id, other_policy_id. Optional table.
| Column | Type | Unit | Values | Required | Meaning |
|---|---|---|---|---|---|
line | enum | auto, home, condo, renters, umbrella, life, motorcycle, other | The policy’s line of business. | ||
carrier | text | The insurer that writes the policy. | |||
start_date | date | The date the policy first took effect. | |||
vehicle_count | int | The vehicles the policy insures. |