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 INCIDENT

Location: Sr170 S / Victory, LAFSP - Jul 30 2014 6:10AM

: 1125-Traffic Hazard
    -- Jul 30 2014 7:01AM [15] NEG 1125 - VEH IS ON THE FRWY [Shared]
    -- Jul 30 2014 6:44AM [12] [Notification] [CHP]-PER 56-170M - CAN FSP ADVS PLT ON VEH = THXS [Shared]
    -- Jul 30 2014 6:18AM [10] TEAL RADIO COPIES 2P TRAFFIC [Shared]
    -- Jul 30 2014 6:17AM [7] PER 2P VEH 1124 SINCE YESTERDAY , STILL 1124 ADVS CHP [Shared]
    -- Jul 30 2014 6:13AM [6] PLS ROLL FSP BT 27 WHEN AVAIL [Shared]
    -- Jul 30 2014 6:09AM [2] [2] BLU BMW ON RS OF ONR [Shared]
    -- Jul 30 2014 6:05AM [1] [1] SPAN TRANS [Shared]

FOUND INCIDENT

Location: Sr170 S / Victory, West Valley - Jul 30 2014 6:04AM

: 1125-Traffic Hazard
    -- Jul 30 2014 7:01AM [15] NEG 1125 - VEH IS ON THE FRWY [Shared]
    -- Jul 30 2014 6:44AM [12] [Notification] [CHP]-PER 56-170M - CAN FSP ADVS PLT ON VEH = THXS [Shared]
    -- Jul 30 2014 6:18AM [10] TEAL RADIO COPIES 2P TRAFFIC [Shared]
    -- Jul 30 2014 6:17AM [7] PER 2P VEH 1124 SINCE YESTERDAY , STILL 1124 ADVS CHP [Shared]
    -- Jul 30 2014 6:13AM [6] PLS ROLL FSP BT 27 WHEN AVAIL [Shared]
    -- Jul 30 2014 6:09AM [2] BLU BMW ON RS OF ONR
    -- Jul 30 2014 6:05AM [1] SPAN TRANS

DONE