CHP Traffic Incident Reports: BICYCLE ACCIDENTS



Cyclelicious. This application searches the California Highway Patrol realtime traffic incident data feed for anything involving "bike" or "bicycl" in the state of California. The Traffic Incident data feed covers only state roads under CHP jurisdiction, which mostly means Interstate highways and numbered California state routes.

Right now, this is a real time search. If I'm sufficiently motivated, I might make this automatically check the Traffic Incident report every 15 minutes and post any new incidents to Twitter or an RSS feed or something.

It should be easy enought to modify this program to search for other types of incidents (e.g. your favorite car, specific streets, highways and routes for your commute, etc.) Maybe I can add a query string to this program to do that.

Usually, you will see "No incidents found." I posted sample output in this blog post.

You can also add a single search term by appending "q=[search term]" to the end of the URL; for example http://www.cyclelicio.us/script/chpbike.php5?q=TOY will find all instances involving Toyotas.

10
START

FOUND INCIDENT

Location: I5 S / Aliso Creek Rest Area S, Oceanside - Oct 25 2014 9:48PM

: 1144-Fatality
    -- Oct 26 2014 12:05AM [29] [Rotation Request Comment] 1039 SandR TOW 800-748-6686 TO HANDLE
    -- Oct 26 2014 12:00AM [27] [Rotation Request Comment] NK TOW CAN DO IT BUT THEY HAVE A 2 TO 2 1/2 HOUR ETA
    -- Oct 25 2014 11:56PM [26] NK TOW CHECKING W/DRIVER TO SEE IF THEY CAN HANDLE
    -- Oct 25 2014 11:54PM [25] C92-005C NO FAMILY MEMBERS ON SCENE ROLL 1185 FOR 4X4 PK AND APROX 25FT ENCLOSED TRAILER
    -- Oct 25 2014 10:22PM [16] 1039 OMEGA
    -- Oct 25 2014 10:17PM [15] C92-005C ROLL OMEGA
    -- Oct 25 2014 9:51PM [6] [Notification] [CHP]-CAMP PEN FD ADVS CPR IN PROGRESS // CHP NOT NEEDED AS OF NOW // WILL ADVS
    -- Oct 25 2014 9:49PM [3] CAMP PEN FIRE 97

DONE