There is a Python-focused question on this here but I want to do the same totally in R. I want to execute the edits in the OpenRefine JSON on CSV in R.
I have tried a solution in jsonlite but not yet satisfied, very messy to parse the JSON edits and apply them on any CSV. Perhaps, there are some JSON parsers to make the process easier. The OpenRefine JSON contains many different edits and potentially even GREPL and Jython/Python code to make this process a bit harder. So perhaps someone has considered a ready solution for this.
How to clean up messy CSV according to OpenRefine JSON in R?
Helper questions
Does there exist some packages just for this like finding all values of
from
fields even in sublists of the JSON?Does there exist some ready package to do this?
There are fields such as
to
,from
and for all different kind of edit, you have a new edit operations. Which R packages are ideal for this?