OpenRefine / OpenRefine

OpenRefine is a free, open source power tool for working with messy data and improving it
https://openrefine.org/
BSD 3-Clause "New" or "Revised" License
10.86k stars 1.95k forks source link

Enhancement : Allow users to share & search community Expressions #1232

Open ettorerizza opened 7 years ago

ettorerizza commented 7 years ago

I often reuse the same custom functions when I work in Open Refine with Jython. I ended up storing them all in a module, which I call if necessary. But it's not very user friendly.

screenshot-127 0 0 1-3333-2017-08-12-15-22-23

As you can see, three lines of boilerplates are needed for an oneliner. Would not it be a good idea to allow users to store their own Jython functions in a more flexible way? In this way, it would even be possible to share them between users! :)

thadguidry commented 7 years ago

You just need to custom package them so Jython and Butterfly can see them. Just put your packages in Jython folder. You can ask Jython folks more how to do this. Then when our Butterfly inits Jython your set.

thadguidry commented 6 years ago

@ettorerizza Can we close this ? or do you need something more from us on this issue ?

ettorerizza commented 6 years ago

@thadguidry Yes, of course, you can close this thread if you want. I keep in mind the idea that GREL or Python code snippets exchangeable between users would be a good idea, but it's not a priority.

thadguidry commented 6 years ago

@ettorerizza Ah, you want a way to share Expressions...like perhaps having a window in OpenRefine to search by categories and then scrolling in that category to see the community Expressions, etc. and then you can click on one to use it. Do you ever use the "Starred" feature ? Anyways, similar to our own Starred but allow a more flexible, larger, community sharing window for searching for Expressions. OK understood. Let's keep this open and rename the title to reflect the exact need.

wetneb commented 4 years ago

More discussion of this in #912, just closed as a duplicate of this.