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: I10 E WO / EUCLID AVE, Rancho Cucamonga - Sep 19 2014 8:26PM

: 1179-Trfc Collision-1141 Enrt
    -- Sep 19 2014 8:50PM [40] B123-103 ALL LANES CLR * NOW ON RHS
    -- Sep 19 2014 8:47PM [39] B123-153 LANES ARE BLOCKED FOR NOW
    -- Sep 19 2014 8:47PM [38] [Rotation Request Comment] *** 1039 CERTIFIED 909-460-7705 ***
    -- Sep 19 2014 8:47PM [37] B123-153 WILL NEED 1185 FOR G
    -- Sep 19 2014 8:42PM [35] B123-153 ON RHS
    -- Sep 19 2014 8:40PM [33] 1039 CERTIFIED BOT
    -- Sep 19 2014 8:40PM [32] B123-103 1022 1185 * PARTY IS 97 THAT WILL TAKE THE BIKE
    -- Sep 19 2014 8:38PM [30] B123-103 BLKG HOV AND #1
    -- Sep 19 2014 8:30PM [19] GOOD SAM ADV SOLO TC / RIDER JUST WENT DOWN / OTHER VEHS STOPPED TO HELP
    -- Sep 19 2014 8:29PM [25] [Appended, 20:30:58] 2 VEHS AND 1 CIV MC DOWN IN HOV
    -- Sep 19 2014 8:29PM [26] [Appended, 20:30:58] 3 VEH TC
    -- Sep 19 2014 8:28PM [16] [Rotation Request Comment] 1039 CERTIFIED TOW W/ FB 909-460-7705
    -- Sep 19 2014 8:28PM [13] 1039 ONTFD
    -- Sep 19 2014 8:28PM [14] [Appended, 20:28:44] RIDER STANDING IN THE HOV LN
    -- Sep 19 2014 8:28PM [23] [3] PER RP / RIDER LOST CONTROL OF BIKE and FLEW OFF, HE GOT BACK UP -- MAY BE INJ'D
    -- Sep 19 2014 8:28PM [10] B123-153 REQ 1 1185 FB FOR MC
    -- Sep 19 2014 8:27PM [8] [3] PTYS LS IN HOV LN
    -- Sep 19 2014 8:27PM [3] IN CD
    -- Sep 19 2014 8:27PM [7] [2] UNK IF A VEH TC'D INTO THEM
    -- Sep 19 2014 8:27PM [22] [2] 1039 ONT FD / ENRT
    -- Sep 19 2014 8:26PM [21] [1] SOLO VEH TC -- MOTORCYCLE INV'D -- IN CD

DONE