How to use or statement in a if statement in openrefine

3.7k Views Asked by At

I need to verify 2 values inside a if condition in Openrefine I already tried:

if(value > 5.6 | < -33, "inside", "outside")

if(value > 5.6 || < -33, "inside", "outside")

if(value > 5.6 or < -33, "inside", "outside")
1

There are 1 best solutions below

0
On

This one worked -

if(or(value > 5.6, value < -33) , "Inside", "Outside")

The think, it was easier than expected, GREL language impresses sometimes.