Emergency room data in R

Posted to Data Sources  |  Tags: , ,  |  Nathan Yau

For my graphic on emergency room visits over time and the other on things that get stuck, I used data from the National Electronic Injury Surveillance System, which is maintained by the Consumer Product Safety Commission.

You can download the data, grouped annually, as Excel files and then do some munging to get the data in order. It’s not a huge burden, but it’s not that fun either. Or, if you want to skip straight to the good stuff, you can use the neiss R package by Hadley Wickham to import the data in R.

I’d go with the latter.

Favorites

Jobs Charted by State and Salary

Jobs and pay can vary a lot depending on where you live, based on 2013 data from the Bureau of Labor Statistics. Here’s an interactive to look.

Famous Movie Quotes as Charts

In celebration of their 100-year anniversary, the American Film Institute …

The Changing American Diet

See what we ate on an average day, for the past several decades.

One Dataset, Visualized 25 Ways

“Let the data speak” they say. But what happens when the data rambles on and on?