Parties_2021
Parties raw data file of 2021; Updated: 9/3/2026 7:25:16 PM
Data dictionary
Field definitions supplied by the publishing agency in CKAN.
| Column | Type | Label | Description |
|---|---|---|---|
| PartyId | numeric | PartyId | — |
| CollisionId | numeric | CollisionId | — |
| PartyNumber | numeric | PartyNumber | — |
| PartyType | text | PartyType | — |
| IsAtFault | text | IsAtFault | — |
| IsOnDutyEmergencyVehicle | text | IsOnDutyEmergencyVehicle | — |
| IsHitAndRun | text | IsHitAndRun | — |
| AirbagCode | text | AirbagCode | — |
| AirbagDescription | text | AirbagDescription | — |
| SafetyEquipmentCode | text | SafetyEquipmentCode | — |
| SafetyEquipmentDescription | text | SafetyEquipmentDescription | — |
| Special Information | text | Special Information | — |
| Other Associate Factor | text | Other Associate Factor | — |
| Inattention | text | Inattention | — |
| DirectionOfTravel | text | DirectionOfTravel | — |
| StreetOrHighwayName | text | StreetOrHighwayName | — |
| SpeedLimit | numeric | SpeedLimit | — |
| MovementPrecCollCode | text | MovementPrecCollCode | — |
| MovementPrecCollDescription | text | MovementPrecCollDescription | — |
| SobrietyDrugPhysicalCode1 | text | SobrietyDrugPhysicalCode1 | — |
| SobrietyDrugPhysicalDescription1 | text | SobrietyDrugPhysicalDescription1 | — |
| SobrietyDrugPhysicalCode2 | text | SobrietyDrugPhysicalCode2 | — |
| SobrietyDrugPhysicalDescription2 | text | SobrietyDrugPhysicalDescription2 | — |
| GenderCode | text | GenderCode | — |
| GenderDescription | text | GenderDescription | — |
| StatedAge | numeric | StatedAge | — |
| DriverLicenseClass | text | DriverLicenseClass | — |
| DriverLicenseStateCode | text | DriverLicenseStateCode | — |
| RaceCode | text | RaceCode | — |
| RaceDesc | text | RaceDesc | — |
| Vehicle1TypeId | numeric | Vehicle1TypeId | — |
| Vehicle1TypeDesc | text | Vehicle1TypeDesc | — |
| Vehicle1Year | numeric | Vehicle1Year | — |
| Vehicle1Make | text | Vehicle1Make | — |
| Vehicle1Model | text | Vehicle1Model | — |
| Vehicle1Color | text | Vehicle1Color | — |
| V1IsVehicleTowed | text | V1IsVehicleTowed | — |
| Vehicle2TypeId | numeric | Vehicle2TypeId | — |
| Vehicle2TypeDesc | text | Vehicle2TypeDesc | — |
| Vehicle2Year | numeric | Vehicle2Year | — |
| Vehicle2Make | text | Vehicle2Make | — |
| Vehicle2Model | text | Vehicle2Model | — |
| Vehicle2Color | text | Vehicle2Color | — |
| V2IsVehicleTowed | text | V2IsVehicleTowed | — |
| Lane | text | Lane | — |
| ThruLanes | numeric | ThruLanes | — |
| TotalLanes | numeric | TotalLanes | — |
| IsDREConducted | text | IsDREConducted | — |
Resource details
| Format | CSV |
|---|---|
| Size | 204 MB |
| Rows | 824,937 |
| Last updated | Sep 29, 2026 |
| Part of | California Crash Reporting System (CCRS) |
Other resources in this dataset
- Raw Data Template
- Crashes_2025
- Parties_2025
- InjuredWitnessPassengers_2025
- Crashes_2024
- Parties_2024
- InjuredWitnessPassengers_2024
- Crashes_2023
- Parties_2023
- InjuredWitnessPassengers_2023
- Crashes_2022
- Parties_2022
- InjuredWitnessPassengers_2022
- Crashes_2021
- InjuredWitnessPassengers_2021
- Crashes_2020
- Parties_2020
- InjuredWitnessPassengers_2020
- Crashes_2019
- Parties_2019
- InjuredWitnessPassengers_2019
- Crashes_2018
- Parties_2018
- InjuredWitnessPassengers_2018
- Crashes_2017
- Parties_2017
- InjuredWitnessPassengers_2017
- Crashes_2016
- Parties_2016
- InjuredWitnessPassengers_2016
- Parties_2026
- InjuredWitnessPassengers_2026
- Crashes_2026
CKAN Data API
Access resource data through the CKAN DataStore API. The examples below use this resource's ID.
Endpoints
The Data API provides these actions. Creating or updating records requires appropriate permissions; the query actions read public DataStore records.
| Create | https://ckan.cdt.dev.datopian.com/api/3/action/datastore_create |
|---|---|
| Update / insert | https://ckan.cdt.dev.datopian.com/api/3/action/datastore_upsert |
| Query | https://ckan.cdt.dev.datopian.com/api/3/action/datastore_search |
| Query via SQL | https://ckan.cdt.dev.datopian.com/api/3/action/datastore_search_sql |
Query examples
"https://ckan.cdt.dev.datopian.com/api/3/action/datastore_search?resource_id=754fe00c-f3bf-4f2f-80d0-ed4aa7b89b77&limit=5""https://ckan.cdt.dev.datopian.com/api/3/action/datastore_search?resource_id=754fe00c-f3bf-4f2f-80d0-ed4aa7b89b77&q=jones""https://ckan.cdt.dev.datopian.com/api/3/action/datastore_search_sql?sql=SELECT%20%2A%20FROM%20%22754fe00c-f3bf-4f2f-80d0-ed4aa7b89b77%22%20LIMIT%205"SQL queries depend on whether SQL search is enabled by the portal.
OData query
Use the resource's OData URL and its field names for paging, selecting columns, or filtering rows.
ODATA_RESOURCE_URL?$top=5
ODATA_RESOURCE_URL?$skip=5&$top=5
ODATA_RESOURCE_URL?$select=FIELD_NAME&$filter=FIELD_NAME eq 'VALUE'Replace ODATA_RESOURCE_URL, FIELD_NAME, and VALUE with the details for the selected resource. See the OData query options guide (opens in a new tab) for more examples.
Use the API in code
JavaScript (JSONP)
var data = { resource_id: '754fe00c-f3bf-4f2f-80d0-ed4aa7b89b77', limit: 5, q: 'jones' };
$.ajax({
url: 'https://ckan.cdt.dev.datopian.com/api/3/action/datastore_search',
data: data,
dataType: 'jsonp',
success: function (response) {
console.log(response.result.total, response.result.records);
}
});Python
import json
from urllib.request import urlopen
url = 'https://ckan.cdt.dev.datopian.com/api/3/action/datastore_search?resource_id=754fe00c-f3bf-4f2f-80d0-ed4aa7b89b77&limit=5'
with urlopen(url) as response:
result = json.load(response)['result']
print(result['total'], result['records'])For parameters and response fields, see the CKAN DataStore documentation (opens in a new tab).