This repository is an OpenRefine extension that adds some of the functionality provided by the UCUM-Java library as GREL functions.
Converts a value from one unit to another.
Returns the converted value as a string.
ucumConvert("1.0", "mol/L", "mmol/L")
Searches for a UCUM concept.
Returns most relevant UCUM concept as a string. If no concept is found, returns null.
ucumSearch("unit", "mol", "false")
Validates a UCUM unit.
Returns true if the unit is valid, false otherwise.
ucumValidate("mol/L")
- Download the latest release from the releases page.
- Drop the folder inside the zip file into the
extensions
folder of your OpenRefine installation. See this page - Restart/Start OpenRefine.