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: Twin Cities Rd / Borden Rd, South Sac - Apr 24 2014 9:13PM

: 1181-Trfc Collision-Minor Inj
    -- Apr 24 2014 9:58PM [22] [Notification] [CHP]-Problem changed from 1179-Trfc Collision-1141 Enrt to 1181-Trfc Collision-Minor Inj
    -- Apr 24 2014 9:49PM [19] PER FIRE // PATIENT ENRT KAISER SOUTH NOW
    -- Apr 24 2014 9:41PM [17] 90 CPZ LN 16
    -- Apr 24 2014 9:35PM [13] [Notification] [CHP]-FIRE HAS LNS BLOCKED / PATIENT IS IN RDWY
    -- Apr 24 2014 9:28PM [12] FIRE REQ ETA/ ADV FROM OFC
    -- Apr 24 2014 9:18PM [9] SAC FIRE LOG 4027
    -- Apr 24 2014 9:17PM [8] PER ANOTHER - GRN OLDS IS INVD VEH
    -- Apr 24 2014 9:15PM [6] VEH STILL 97 - RP UNABLE TO GIVE ME ANY DESCRIPTION
    -- Apr 24 2014 9:15PM [5] RP WAS ON A BICYCLE , AND HIT BY A VEH
    -- Apr 24 2014 9:15PM [2] SAG'D // XFER TO SAC FIRE

DONE