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: Sr26 / Jack Tone Rd, Stockton - Apr 17 2014 11:28AM

: 1125-Traffic Hazard
    -- Apr 17 2014 11:29AM [1] KIDS RIDING BIKES IN THE TRAFFIC LANE

FOUND INCIDENT

Location: 0 Monte Vista Ln, Gold Run - Apr 17 2014 7:25AM

: MZP-Assist CT with Maintenance
    --

FOUND INCIDENT

Location: SR134 E / SAN FERNANDO RD, Altadena - Apr 17 2014 11:53AM

: 20002-Hit and Run No Injuries
    -- Apr 17 2014 11:56AM [6] [FSP] has closed their incident [140417LAFSP00117]
    -- Apr 17 2014 11:29AM [1] [1] UNK VEH DESC, PTY ADVSD CALLBOX CENTER THAT HE HAS BEEN WAITING 1 HR FOR ASST AND CBX DISC, NO VEH DESC[Shared]

FOUND INCIDENT

Location: Sr163 N / Genesee, San Diego - Apr 17 2014 11:23AM

: 20002-Hit and Run No Injuries
    -- Apr 17 2014 11:40AM [10] 23M/ OCC ON THE RAMP NB 5 TO NB 163, 23M ENRT
    -- Apr 17 2014 11:24AM [1] WHI FORD VAN WITH RACKS ON TOP HIT THE RPS VEH

DONE