Railroad crossings
The Federal Railroad Administration's highway-rail crossing inventory and collision reports in Python: every crossing with its warning devices and traffic, collisions and deaths since 1975, gates, quiet zones, the busiest crossings, and the id and coordinate traps.
Every place in the United States where a road or path crosses a railroad has a number in the Federal Railroad Administration's crossing inventory, and every collision there has been reported to the FRA since 1975. The inventory holds 438,900 crossings, open and closed, with their warning devices, train counts and road traffic; 126,100 of the open ones are public crossings at grade. The collision reports record 251,520 collisions, the people killed and injured, and what the driver did.
The guides here read the inventory, explain what counts as a crossing and how to get the data without code, chart collisions and deaths since 1975, sort crossings by their warning, rank states by collisions per crossing, build the trains-times-vehicles exposure index, count drivers going around lowered gates and map the quiet zones where horns are silenced. Two pages deal with the traps: collision reports whose crossing id does not join, and positions that are swapped, shifted or in the wrong state.
🧭 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.
- How to Read FRA's Highway-Rail Crossing Inventory in Python
- How to Chart Railroad Crossing Collisions and Deaths Since 1975
- How to Map Which Railroad Crossings Have Gates and Which Only Have Signs
- How to Rank States by Railroad Crossing Collisions per Crossing
- How to Find the Busiest Railroad Crossings: Trains Times Vehicles
- How Often Do Drivers Go Around Crossing Gates? Collisions by Driver Action
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.