Progressive Number in Openrefine Column

Is it possible to create a “counter”, a progressive number in a column using GREL?

For example, I would like to add valueto this number to generate an identifier for each record.

+4
source share
1 answer

Each line in the OpenRefine project has an index - a serial number starting from zero (the first line in the project).

You can access this using 'rowIndex'.

Combine this with a value (I assume that “value” is a string) to create the string identifier that I suggest:

, , , " " → " " (, Row ID), "" :

rowIndex+value

"",

+5

All Articles