Road crashes & traffic safety

Mapping road crashes: FARS and STATS19, fatal and injury collisions, rates per resident and per mile driven, pedestrians and cyclists, time of day and light, and the codes that hide missing values.

Left, a sample of the 37,498 fatal road crashes in the contiguous US in 2023 from FARS, clustered in cities and strung along highways; right, fatal crashes by hour of the day, orange in daylight and dark blue in the dark, peaking in the evening after dark. where and when: US fatal crashes, 2023

Road crash data comes in two great open forms: censuses of fatal crashes, such as the US Fatality Analysis Reporting System, and police records of injury collisions, such as Great Britain’s STATS19, alongside city crash datasets like Chicago’s. The guides here map them, compute rates per resident and per mile driven, find the streets where most people are killed or seriously injured, and look at pedestrians, light, time and speed.

Every number comes from a run on the published files. FARS 2023 records 41,025 deaths, 1.26 per 100 million vehicle miles; STATS19’s serious injury counts need the Department for Transport’s adjustment before police forces can be compared; and coded missing values, such as a latitude of 77.7777, look like real data until they are filtered.

🧭 Start with the concepts

The ideas the how-to guides below assume you already have.

⚙️ Then do the task

Step-by-step walkthroughs with code you can copy and adapt.

Show every how-to guide in this topic

🔧 When it breaks

The errors this topic produces, with the cause explained rather than just the command.

Related topics

Subjects that keep coming up alongside this one, most overlap first.

Keep browsing

Road crashes & traffic safety sits in Analysis. Every topic on the site is listed on the topics index.