17.11.14

Opening RefinePro Knowledge Base

0 comments
It all started in June 2011 whe we opened OpenRefine Tips and Recipes blog. Over the last three years we documented Google Refine and then OpenRefine functionality with concrete examples and screenshots and listed the best materials written by others. It started as a personal notebook to a knowledge base of over 110 articles coverings more than 80 topics.

10.10.14

Parsing Apache log using OpenRefine

0 comments
Recently I was looking for a quick way to explore some apache log file. I didn't want to set up any software and I wanted to analyze some very precise path for a specific user, or what happen after a specific error. So I thought about OpenRefine and its parsing capabilities.

The recipe doesn't replace an analytical tool to understand your traffic but help to go behind the curtain and drill down to analyze specific IP address or user, type of error code and patterns

15.9.14

Announcing RefinePro

0 comments
Less than two weeks ago we announced the start up of RefinePro as a new participant of the OpenRefine ecosystem. This post provides background on where we come from and how we see  the position of RefinePro within OpenRefine community.

Why a company? 

I have been actively involved with the OpenRefine community since summer 2011 when I opened this blog to document tricks and tutorials regarding OpenRefine usage. I am also active on the mailing list to provide support and I maintain the twitter account to share project news and answer questions..

Over the last year I have witnessed how the community has grown. Today OpenRefine is downloaded over 1,000 times per week! MOOC (Massive Open Online Courses) are being dedicated to OpenRefine. OpenRefine twitter feed is buzzing daily with new tutorials, workshop and blog articles.

Data wrangling and cleaning tools are getting in demand and we see a bright future for OpenRefine. We want to take Refine to the next level and to commit a full time dedicated team to close existing issues, develop new functionality and improve the level of support.

What next?

We plan first to provide a hosted access to OpenRefine to

  • Make it easier for people to start with Refine by removing the installation process,
  • Offer access to your project from multiple devices,
  • Power up your project with more compute power.

We will be testing our business model and architecture through a beta access.

Reserve your spot for RefinePro beta today

If you already haven't, you can help us by spreading the word about our initiative by email friends and coworkers and sharing the news on twitter, Facebook, Linkedin or Google+

The content from this blog will migrate to RefinePro in order to keep branding consistent. We will notify our readers when this happens.

If you are just curious and want to stay in the loop you can subscribe to our mailing list (beta user are already registered) or follow us on twitter or google +.


18.7.14

OpenRefine Usage survey (2014)

0 comments
Earlier this year the community had a discussion regarding the substainibility of the community and draft for a bounty model and governance model have been proposed with little feedback from the community.

25.4.14

Prepare SQL update where query in OpenRefine

0 comments
Following the article regarding how to prepare SQL SELECT, INSERT INTO, DELETE query using OpenRefine, we will now see how the template function can be used to prepare UPDATE WHERE statement.

UPDATE WHERE statement are slightly different from a select or an insert statement since we want to define a different where clause for each record. Thus we cannot wrap all rows we want to update into a single query. We will need to write a separate statement for each record in our OpenRefine project and define the SET and WHERE conditions.

13.4.14

Prepare SQL SELECT, INSERT INTO, DELETE query using OpenRefine

0 comments
I know that a lot of us export data from MySQL / SQL databases to clean them in OpenRefine before loading them back in their original database. Before, I was exporting my project to csv and loading the csv using some command utilities for MySQL, it worked by that was a painful process with a lot of details to pay attention to (encoding, field separator ...). But all this was was before I found a new way to use the template option of OpenRefine to prepare large select, update, insert or delete SQL statement

So instead of exporting to csv and importing through an other interface / tool like phpmyadmin you can use the template function of OpenRefine to preparethat will iterate through all the row of your project.


2.4.14

Padding left and right

0 comments
Padding is the action of adding 0 to the left or the right of a text value until you reach a certain string lenght.

The padding function can be useful in OpenRefine if you lost leading zero while importing or transforming your data.

Of couse you can hack the example below to add letters or any other type of charactere.

padding left up to four digit
"0000"[0,4-value.length()] + value

padding righ up to four digit
value + "0000"[0,4-value.length()]


source