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.


START
FOUND BIKE INCIDENT


Location: I80 E / I80 E Alamo Dr Onr, Solano - Jul 25 2014 1:08PM

: 1125-Traffic Hazard
    -- Jul 25 2014 1:19PM [10] CAR ON RHS W/ BIKE RACK JWO NUT TREE
    -- Jul 25 2014 1:16PM [3] [Appended, 13:17:22] ANOTHER WHI TRASH BAG NEAR NUT TREE ALSO #2 LANE
    -- Jul 25 2014 1:16PM [2] PER OFF DUTY CHP - BAG AND DEBRIS FROM BAG #2-3 LANES
    -- Jul 25 2014 1:15PM [4] [Appended, 13:17:22] IN #2 LANE
FOUND BICYCLE INCIDENT


Location: 869 Buena Vista Dr, Santa Barbara - Jul 25 2014 12:37PM

: 1180-Trfc Collision-Major Inj
    -- Jul 25 2014 1:29PM [8] [Notification] [CHP]-Problem changed from 1179-Trfc Collision-1141 Enrt to 1180-Trfc Collision-Major Inj by CHP
    -- Jul 25 2014 1:01PM [6] Secondary Location for A29-10M: FIRE STN 1 ON SY.
    -- Jul 25 2014 12:38PM [1] BICYCLIST DOWN FIRE 1097

DONE