29 lines
929 B
JSON
29 lines
929 B
JSON
[
|
|
{
|
|
"op": "core/column-addition",
|
|
"engineConfig": {
|
|
"facets": [],
|
|
"mode": "row-based"
|
|
},
|
|
"baseColumnName": "M|IDN",
|
|
"expression": "grel:forEach(forEach(cells['M|037b'].value.split('␟'),v,v.replace('; ','‡').replace(',','‡').replace('\\\\','‡')).join('‡').split('‡'), x, x.trim()).join('‡')",
|
|
"onError": "set-to-blank",
|
|
"newColumnName": "1500",
|
|
"columnInsertIndex": 3,
|
|
"description": "Create column 1500"
|
|
},
|
|
{
|
|
"op": "core/text-transform",
|
|
"engineConfig": {
|
|
"facets": [],
|
|
"mode": "row-based"
|
|
},
|
|
"columnName": "1500",
|
|
"expression": "grel:forEach(value.split('‡'), v, v.replace(/^dt$/,'ger').replace(/^deu$/,'ger').replace(/^engl.$/,'eng').replace(/^engl$/,'eng')).uniques().join('‡')",
|
|
"onError": "keep-original",
|
|
"repeat": false,
|
|
"repeatCount": 10,
|
|
"description": "Text transform on cells in column 1500"
|
|
}
|
|
]
|