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 BICYCLE INCIDENT


Location: I5 N / Jno Richards Blvd, South Sac - Aug 28 2014 6:08PM

: 1125-Traffic Hazard
    -- Aug 28 2014 6:09PM [1] WMA GRN SHIRT RIDING BICYCLE ON RHS IN NB DOT
FOUND BIKE INCIDENT


Location: Ridge Rd / Sr88, Amador - Aug 28 2014 6:12PM

: 1179-Trfc Collision-1141 Enrt
    -- Aug 28 2014 6:14PM [7] [2] MC RIDER LAYED HIS BIKE DOWN / 2 MALES TRYING TO HELP SUBJ
    -- Aug 28 2014 6:14PM [4] SUBJ IS BLEEDING FR THE ELBOW
    -- Aug 28 2014 6:13PM [3] 1039 AMA SO

DONE