Category: Data

Stats from the OECD: Comparing traffic injuries of the United States and Netherlands

For an article I’m writing for Architect’s Newspaper about the Chicago Forward CDOT Action Agenda, I wanted to know about traffic injuries and fatalities in the United States, but compared to the Netherlands and Denmark and other places with a Vision Zero campaign (to have 0 traffic deaths each year).

I already knew the OECD had a good statistics database and web application. With a few clicks, I can quickly get a table of traffic injuries (casualties) listing just the countries I want. I can easily select the years I want, too.

In one more click the web application will show a time animated bar chart. A feature I’d like to see added is dividing the figure (in this case traffic injuries) by the population. Check out the video to see what it looks like. The United States looks to be in terrible shape, but our country has several times more residents.

I had trouble downloading and opening the CSV file of the data table I created. The XLS file was damaged, also. The built-in Mac OS X Archive Utility app couldn’t open the .gz file, but I used The Unarchiver app successfully.

My calculations, based on data from OECD (national population and traffic fatalities), Illinois Department of Transportation (IDOT), and the American Community Survey:

Fatalities per 100,000 in 2009

  • United States: 11.02472
  • Denmark: 5.48969
  • Netherlands: 4.35561
  • Sweden: 3.84988
  • Chicago: 16.74891
  • United Kingdom: 3.83555

Chicago’s fatality rate per 100,000 citizens in 2009 was 16.75 (473 deaths on the roads). The fatality rate dropped in 2010: just 11.65 deaths per 100,000 residents (315 deaths on the roads; the population also decreased).

Updated September 28, 2012, to add the United Kingdom. 

Slicing the crash data into interesting visualizations

The Chicago Crash Browser as it looks now. This only exists on my laptop and no place else. I can’t put it online because it’s so inefficient it would kill the server. 

I presented my Chicago Crash Browser to attendees of an OpenGov Hack Night three weeks ago and gathered a lot of feedback and some interest from designers and programmers there.

We collaboratively came up with a new direction: instead of focusing on creating a huge web application that I proposed, we (anyone who wants to help) would start small with a website and a couple of crash data visualizations. The visualizations would serve two purposes:

  • attract attention to the project
  • start building a gallery of data-oriented graphics that describes the breadth and extent of the crash data

Continue reading

An enjoyable Friday morning collecting car speeds on Clark Street

Watch this 7 second video of a person driving a late model Toyota Camry in Lincoln Park at 50 MPH, next to the park. 

mean 30.83 mph
median 31
mode 30
min 17
max 50
frequency: 121 cars
greater than 30 mph: 65 cars
% greater than 30 mph: 53.72%

Statistics exclude the three buses counted at 26, 18, 20. Time was 8:23 to 8:38 on Friday, May 4, 2012, at Clark Street and Menomenee Street. The street width at where I collected the data is 65’9″ (789 inches). This location is eligible for a speed camera as it is within 1/8 mile of a park and is thus a “Children’s Safety Zone”.

I’m still working on the report for an article to be published on Grid Chicago. I used this Bushnell Velocity Speed Gun.

BikeLock app based on dataset I opened up

Bike parking at Daley Plaza, downtown Chicago. 

It’s really cool to see work you did “go places”. A friend of mine who works at Groupon just linked me to an iOS app called BikeLock that finds bike racks near you on iPhones, iPads, and iPod touches. It’s based on bike rack location data in the City of Chicago’s Data Portal. (The data on there is old, while the data in the public API I built is real time.)

Download it from the iTunes Store for 99 cents. The developer is Mike Jahn, another Groupon staffer. You can get the same information for free, though, on my mostly mobile-friendly Can I bring my bike on Metra? web app, and a website I made for the Chicago Department of Transportation (CDOT).

A screenshot of the Can I bring my bike on Metra? bike rack finder website. 

That data comes straight from the Bike Parking Web Application I started developing in 2008 soon after I started working in the Chicago Bicycle Program. It was good that my supervisor had the same perspectives I did about open and transparent data and work. But it didn’t start like that; here’s the full story:

My first job at the Bicycle Parking Program was to deal with abandoned bikes, get them off the street. I was taught the existing method of keeping track of my work, but I used my programming skills (in PHP, MySQL, and with the Google Maps API) to develop a web application that tracked it faster and mapped out the abandoned bikes I had to visit and tag with a notice. I was using this for a few days or few weeks and then show my boss. His reaction was something like, “Great! Now make one for bike racks!”

Why? Well, let’s take this quote from Judy Baar Topinka, Illinois comptroller, speaking Tuesday about her office’s new website, The Ledger, which lists the state’s unpaid bills among other financial data.

“The object of the exercise is to make everything that we know of in the comptroller’s office public. If we know it, you’ll know it.” WBEZ

I made one for bike racks. I created two environments, one for private administration at the office (“Bike Parking Web Application”) and one for the public (“public interface”). A later feature I added to the public interface was the Advanced Search. This allows you to filter by Ward, Community Area, and Status. You can then choose your sorting method. A map will appear above the results. You can download the results as either an XLS file, and XLS file that’s designed to be imported in GIS programs (like QGIS), or a KML file.

I’m aware of just one other app that uses this data set: MassUp.us. I don’t know if MassUp uses the real-time API that my Metra bike rack finder uses.

Figuring out how many CMAQ projects are for roads

Simplified, the purpose of Congestion Mitigation and Air Quality (CMAQ) grant is to fund projects that reduce congestion and improve air quality. This usually means bicycle, pedestrian, and transit facilities and vehicles. But it also means road projects. Like intersection widening, new signals, changes to signal programming, and “signal interconnect” (timing the signals to cooperate with each other to have some free flowing traffic). It can also mean making grade separations at railroad tracks to eliminate backups when trains cross. However, not everything is infrastructure: there’s also marketing, encouragement, analysis, bike sharing, and education.

In a conversation I was having last night with some transportation advocate friends, one joked that most of CMAQ funds road projects. I agreed (probably because the irony of reducing congestion by making higher capacity roads was funny to me), and we moved on to other topics. I set out verify the actual distribution share for the six-county region in Northeastern Illinois.

I spent almost an hour converting the Chicago Metropolitan Agency for Planning’s CMAQ 2012-2016 projects list from PDF to Excel and then quickly identified every project as being “road” or “not road”. I tallied the amount of proposed CMAQ funding for the projects to get the answer: road projects take up 25.7% of CMAQ funding.

But I can’t stop there! Now that I have CMAP’s data in a spreadsheet, I can get the average of Daily VOC eliminated for road and non-road projects, as well as the estimated cost per VOC kilogram eliminated.

On average, non-road projects have a lower cost per VOC kilogram eliminated ($4,109.37 versus $9,472.90). And non-road projects on average eliminate 19.7 times more kilograms of VOC daily (5.918 kg versus 0.301 kg for road projects).

There are some disclaimers! These are all estimates and not every project has received funding. Also, projects are not selected solely on cost per kilogram of VOC eliminated, or daily VOC eliminated. I’d also like to see estimates on the number of people affected by each project.

You can check my math by downloading my modified projects list (XLS).