Crate collisions

Source
Expand description

A simple data format to list collisions that’ve occurred in the real world. The data is serializable in a binary format or as JSON.

Structs§

Collision
A single collision that occurred in the real world.
CollisionDataset
A single dataset describing some collisions that happened.

Enums§

Severity
A simple ranking for how severe the collision was. Different agencies use different classification systems, each of which likely has their own nuance and bias. This is deliberately simplified.

Functions§

import_seattle
Import data from Seattle GeoData (https://data-seattlecitygis.opendata.arcgis.com/datasets/5b5c745e0f1f48e7a53acec63a0022ab_0). Any parsing errors will skip the row and log a warning.
import_stats19
Import data from the UK STATS19 dataset. See https://github.com/ropensci/stats19. Any parsing errors will skip the row and log a warning.
parse_incdttm 🔒