Announcing Google Refine 2.0, a power tool for data wranglers
google-opensource.blogspot.com
google-opensource.blogspot.com
We've been using it pretty much daily for about 5 months now and cleaning messy government data used to be time consuming and destructive, with google Refine it's so easy and fast to join, cleanup and do rudimentary analysis on said data.
It especially shines when you have to merge many disparate data sets into one. My colleague, Dan Nguyen, did just that for our Dollars for Doctors app:
http://projects.propublica.org/docdollars/
and he scraped the data from reports like this:
http://www.pfizer.com/responsibility/working_with_hcp/paymen...
(one company even put the disclosures up as a flash movie).
Of course we could write scripts, use grep/awk/sed or import it into a database, but Refine is really it. I encourage you to give it a try if you have questionable data you'll need to clean.
Edit: I see that you are a nonprofit organization from your "About" page.
How did you deal with the Flash content? Decompile the source code? Did you encounter tabular PDF data? If so, did you find a good solution?
Also, have you or your colleagues had any contact with the Wolfram Alpha team? It seems like your organizations have similar data curation goals.
http://blog.stephenwolfram.com/2010/10/the-emerging-computat...
EDIT: We haven't had any contact with Wolfram|Alpha but maybe we should reach out.
Also, you guys do great work - keep it up!
I never thought this day would come.
After a quick trial with this, I'm sold. This is truly amazing for people with similar jobs such as mine.
I literally just did the same exercise as demonstrated in the second video, parsing a Wiki document (the list of world religions) from Wikipedia. But it took about 30 lines of PHP.
Maybe they'll add the ability to import a web page as a data source, and export the script that does the transformations as a python script?
Okay. I'm rambling...
a) you are not skilled in a language that handles text easily (I have friends who might have a need to aggregate that data but would have no clue how to begin writing a program to parse it).
b) don't have a Peter Norving-like facility with algorithms: http://norvig.com/ngrams/ i.e. you could code the transformation given sufficient time, but Refine would be faster, both in development and, for large data sets, run time.
When I saw this video last week I started thinking if there was any data munging that I've been putting off. There is, but I need to do some scraping first.
In the meantime, I sent it to a friend who is working on an iPhone app that draws on a government database. He was thrilled to have something more interactive and productive (in his perception, at least) than python + excel.
Colonel Sandurz: We can't stop, it's too dangerous! We have to slow down first! http://www.imdb.com/title/tt0094012/quotes
Google and the Spaceballs seem to have a lot in common.