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: Hayfork, Trinity River - Aug 29 2014 10:44PM

: 1144-Fatality
    -- Aug 29 2014 11:12PM [22] 1039 TRINITY PAPER CODE 20 // SOUNDS LIEK FAX NUMBER
    -- Aug 29 2014 11:11PM [21] 1039 TRINITY COUNTY CODE 20 // CONSTANT RING NEG ANSWER NEG VM OPTION
    -- Aug 29 2014 11:10PM [20] 1039 CT 240 // ADVS HE IS OO TOWN BUT WILL MAKE CT CALL OUTS AND HAVE SOMEONE RESPOND
    -- Aug 29 2014 11:06PM [19] 1039 243 // HE IS OO TOWN REQ NOTIFICATIONS MADE TO 240
    -- Aug 29 2014 11:04PM [18] 1039 90-S3
    -- Aug 29 2014 11:04PM [17] PER TRI SO // TRINITY CENTER NEIGHBORHOOD WATCH WAS THEIR RP AND HE REPORTED THAT 2 VEH WERE INV
    -- Aug 29 2014 11:03PM [16] 1039 TRI SO NFI UNK EXTENT OF OTHER INJURIES
    -- Aug 29 2014 11:01PM [12] 1039 90-S3
    -- Aug 29 2014 10:48PM [8] RP WAS THE FIRST ONE ON SCENE AND WITNESSED THE TC
    -- Aug 29 2014 10:48PM [7] 1039 TRI CO FD
    -- Aug 29 2014 10:47PM [5] VEH OVERTURNED 5 TIMES
    -- Aug 29 2014 10:46PM [4] VEH WAS DRIVING 23103 PRIOR TO TC

FOUND INCIDENT

Location: E Cherokee Rd / N Alpine Rd, Stockton - Aug 29 2014 8:58PM

: 1144-Fatality
    -- Aug 29 2014 9:26PM [15] [Rotation Request Comment] 1039 ANDERSONS TOW / 946-9661
    -- Aug 29 2014 9:02PM [8] GRN CHEV TK VS TREE WITH MAN TRAPPED IN DRVR SEAT
    -- Aug 29 2014 8:59PM [4] 1039 VC
    -- Aug 29 2014 8:59PM [3] NEG 1125
    -- Aug 29 2014 8:59PM [1] SOLO VEH T/C

DONE