Overview
Teaching: 10 min
Exercises: 5 minQuestions
Code generation from OpenRefine
Objectives
Describe how OpenRefine generates JSON code.
Demonstrate ability to export JSON code from OpenRefine.
Save JSON code from an analysis.
Apply saved JSON code to an analysis.
- In the Undo / Redo section, click Extract, save the bits desired using the check boxes.
- Copy the code and paste it into a text editor. Save it as a .txt file.
To run these steps on a new dataset, import the new dataset into OpenRefine, open the Extract / Apply section, paste in the .txt file, click Apply.
Key Points
All changes are being tracked in OpenRefine, and this information can be used for scripts for future analyses or reproducing an analysis.