OpenRefine: The facets present while a JSON recipe is applied are ignored

I have some facets which select a subset of rows, and a list of operations represented as a JSON workflow. If I use the history tab to apply this JSON workflow to the project, it will apply to rows selected by the original facets, not just the ones I have selected with my new facets.

Proposed solution

It should be possible to apply a given recipe to a filtered set of rows determined by facets. Not all operations respect facets, so this would only be useful if the workflow only contains operations which do respect them.

Alternatives considered

At the moment, the only solution I can think of is to edit the JSON payload manually to add the facet configurations in the engineConfig parameters of each operation, which is not convenient.

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Comments: 16 (16 by maintainers)

Most upvoted comments

But it is not clear to me whether these additional facets should be applied by default, or whether we should give the user the option to keep the current behaviour.

This needs to be user controlled IMO

(that being said I am not really thinking about fixing this in the current UI as things stand, this is more of a way to document the current drawbacks of the existing system, with the hope to design a proper solution for reproducibility - perhaps the mailing list is a better place to do that)

Yes you got it right, removing the striked out “all” to make it clearer for others.