Illablu / google-refine

Automatically exported from code.google.com/p/google-refine
Other
1 stars 0 forks source link

Allow "sort" keyword in constraint subquery for "Add from Freebase" #504

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When adding a columns from Freebase, it's possible to specify a limit, but not 
a sort order, making the selection of which items you'll get random.

As a real-world example, I was recently asked to get the most recent population 
figures for a list of countries, as long as it was within the last 5 years. I 
could use something like:

{"limit":1,
"sort":"-year",
"year<":"2012",
"year>=":"2006"
}

except that the "sort" keyword is filtered out by Refine

Original issue reported on code.google.com by tfmorris on 9 Dec 2011 at 10:29

GoogleCodeExporter commented 8 years ago
Added in r2403

Original comment by tfmorris on 9 Dec 2011 at 10:38

GoogleCodeExporter commented 8 years ago

Original comment by dfhu...@google.com on 11 Dec 2011 at 10:33