News for hackers. Stuff that matters.
Re:Announcing Google Refine 2.0, a power tool for data wrang... by thejefflarson on Wednesday November 10, 2010 @09:37PM (#1892644)
So I'm on ProPublica's web team -- the organization mentioned in the first video -- and we deal with the types of messy data Refine is made for on a day to day basis.

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.

Re:Announcing Google Refine 2.0, a power tool for data wrang... by brown9-2 on Thursday November 11, 2010 @08:04AM (#1893691)
Would you and your team be willing to write up a quick intro or howto or article about how you're using the tool? Some real-life scenarios and examples might be very useful.

Also, you guys do great work - keep it up!

Re:Announcing Google Refine 2.0, a power tool for data wrang... by thejefflarson on Thursday November 11, 2010 @11:50AM (#1894324)
I think we have 2 posts in the hopper about it, keep an eye on the nerd blog:

http://www.propublica.org/nerds

Re:Announcing Google Refine 2.0, a power tool for data wrang... by nswanberg on Wednesday November 10, 2010 @10:09PM (#1892729)
Thanks for your work.

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...

Re:Announcing Google Refine 2.0, a power tool for data wrang... by thejefflarson on Wednesday November 10, 2010 @10:15PM (#1892744)
I didn't grab the flash content, but if I remember correctly, it was a flash movie that wrapped a PDF that Dan then OCRed and cleaned up with Refine. The coolest part was that the pdf was in grid form, so Dan wrote an ImageMagick script that split it into individual cells and then OCRed each cell (for better results).

EDIT: We haven't had any contact with Wolfram|Alpha but maybe we should reach out.

Re:Announcing Google Refine 2.0, a power tool for data wrang... by poincare on Wednesday November 10, 2010 @09:52PM (#1892697)
How do you guys make money?

Edit: I see that you are a nonprofit organization from your "About" page.

Re:Announcing Google Refine 2.0, a power tool for data wrang... by thejefflarson on Wednesday November 10, 2010 @10:15PM (#1892745)
Yeah, non-profit, mostly foundation grants.
Re:Announcing Google Refine 2.0, a power tool for data wrang... by JonnieCache on Wednesday November 10, 2010 @06:24PM (#1892185)
I can now finally see a glimpse of a bright future where all my ID3 tags are rationalized.

I never thought this day would come.

Re:Announcing Google Refine 2.0, a power tool for data wrang... by Griever on Wednesday November 10, 2010 @09:50PM (#1892688)
This is huge for me. I manage an inventory system for several government contractors and you'd be amazed at the thousands and thousands of inconsistencies you can find. Sometimes it takes days, and on one occasion, two weeks to completely sanitize them.

After a quick trial with this, I'm sold. This is truly amazing for people with similar jobs such as mine.

Re:Announcing Google Refine 2.0, a power tool for data wrang... by zachster on Wednesday November 10, 2010 @06:28PM (#1892193)
This is pretty neat, but it seems like an advanced version of Google Docs Spreadsheets. I wonder if they'll roll these features into that. The OSS project is nice for confidential data, but I think a lot of people would use a hosted version. Anyone going to set one up?

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...

Re:Announcing Google Refine 2.0, a power tool for data wrang... by nswanberg on Wednesday November 10, 2010 @07:06PM (#1892282)
I haven't used some of the cooler import features of Google Docs Spreadsheets, but my guess is that Refine will be better if

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.

Re:Announcing Google Refine 2.0, a power tool for data wrang... by thejefflarson on Wednesday November 10, 2010 @09:40PM (#1892653)
You can grab data from a web api, for example, geocoding:

http://code.google.com/p/google-refine/wiki/Geocoding

Re:Announcing Google Refine 2.0, a power tool for data wrang... by dcnstrct on Thursday November 11, 2010 @12:54AM (#1893036)
Wow this is amazing! In the real world data can be messy and this looks like a great tool to transform it without an extensive custom ETL process that requires code
Re:Announcing Google Refine 2.0, a power tool for data wrang... by easp on Tuesday November 16, 2010 @01:23PM (#1911009)
I think I'm in love!

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.

Re:Announcing Google Refine 2.0, a power tool for data wrang... by syllogism on Wednesday November 10, 2010 @07:47PM (#1892389)
It's nice that they've done this, because it makes powerful data operations available to non-programmers. I'll be sticking with my Unix command line tools, though.
Re:Announcing Google Refine 2.0, a power tool for data wrang... by natep on Sunday November 14, 2010 @08:18PM (#1904815)
Honest question: how do you do clustering with unix tools?
Re:Announcing Google Refine 2.0, a power tool for data wrang... by Tycho on Wednesday November 10, 2010 @06:48PM (#1892234)
speaking of google, is it just me or did they just introduce a brand new 'preview' button (with pop-up) beside their search results? that wasn't there before right?
Re:Announcing Google Refine 2.0, a power tool for data wrang... by LiveTheDream on Wednesday November 10, 2010 @07:25PM (#1892340)
HN thread on Google previews: http://news.ycombinator.com/item?id=1892152
Re:Announcing Google Refine 2.0, a power tool for data wrang... by nswanberg on Wednesday November 10, 2010 @06:53PM (#1892254)
They did yesterday, if this is what you're talking about: http://techcrunch.com/2010/11/09/google-instant-previews/
Re:Announcing Google Refine 2.0, a power tool for data wrang... by siculars on Thursday November 11, 2010 @02:15AM (#1893171)
Google just went plaid for a lot of people.
Re:Announcing Google Refine 2.0, a power tool for data wrang... by webXL on Thursday November 11, 2010 @02:08PM (#1894828)
Spaceballs reference? Ludicrous speed!

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.