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: Bakersfield Traffic Advisories, BF - Apr 23 2014 12:15AM

: TADV-Traffic Advisory
    -- Apr 23 2014 5:50AM [19] [CHP] has closed their incident []
    -- Apr 23 2014 5:50AM [18] ALL LANES OPEN // SIG 1022'D ON THE BLUE [Shared]
    -- Apr 23 2014 2:20AM [16] SIGALERT ISSUED ON BLU [Shared]
    -- Apr 23 2014 12:19AM [13] SR223 OPEN
    -- Apr 23 2014 12:18AM [12] SR204 OPEN
    -- Apr 23 2014 12:18AM [11] SR184 OPEN
    -- Apr 23 2014 12:18AM [10] SR178 OPEN
    -- Apr 23 2014 12:18AM [9] SR166 OPEN
    -- Apr 23 2014 12:18AM [8] SR155 OPEN
    -- Apr 23 2014 12:18AM [7] SR119 OPEN
    -- Apr 23 2014 12:18AM [6] SR99 OPEN
    -- Apr 23 2014 12:18AM [5] SR65 OPEN
    -- Apr 23 2014 12:18AM [4] SR58 OPEN
    -- Apr 23 2014 12:18AM [3] SR43 OPEN
    -- Apr 23 2014 12:18AM [2] SR33 OPEN
    -- Apr 23 2014 12:17AM [1] I5 OPEN

DONE