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.

10
START
FOUND BICYCLE INCIDENT


Location: Sr166 / Suey Creek Rd, Santa Maria - Oct 21 2014 9:25AM

: 1125-Traffic Hazard
    -- Oct 21 2014 9:27AM [1] 4 GROUPS OF 25 BICYCLIST RIDING IN RDWY

FOUND INCIDENT

Location: Media Log, - Oct 21 2014 12:44AM

: 1013-Road/Weather Conditions
    -- Oct 21 2014 8:38AM [8] ^
    -- Oct 21 2014 8:38AM [7] ^
    -- Oct 21 2014 8:38AM [6] ^NO OTHER NEWSWORTHY INCIDENTS WERE NOTED FROM LAST EVENING
    -- Oct 21 2014 8:37AM [5] ^
    -- Oct 21 2014 8:37AM [4] ^
    -- Oct 21 2014 8:37AM [3] ^MI# 141020BC01140, 11-44, 1950 HRS, SB 15 AT RAILROAD CYN [CHP TEMECULA AREA], T/C INVOLVING O/T VEH RESULTS IN FATALITY. CONTACT CHP TEMECULA FOR DETAILS.
    -- Oct 21 2014 4:40AM [2] ^
    -- Oct 21 2014 12:45AM [1] ^

DONE