29 lines
916 B
JSON
29 lines
916 B
JSON
[
|
|
{
|
|
"op": "core/column-addition",
|
|
"engineConfig": {
|
|
"facets": [],
|
|
"mode": "row-based"
|
|
},
|
|
"baseColumnName": "M|IDN",
|
|
"expression": "grel:[forNonBlank(cells['M|087'].value, v, forEach(v.split('␟'), x, x + '\u001fSo').join('␟'), null), forNonBlank(cells['M|087b'].value, v, v + '\u001fSa', null), forNonBlank(cells['M|087o'].value, v, v + '\u001fSo', null)].join('␟')",
|
|
"onError": "set-to-blank",
|
|
"newColumnName": "2003",
|
|
"columnInsertIndex": 3,
|
|
"description": "Create column 2003"
|
|
},
|
|
{
|
|
"op": "core/text-transform",
|
|
"engineConfig": {
|
|
"facets": [],
|
|
"mode": "row-based"
|
|
},
|
|
"columnName": "2003",
|
|
"expression": "grel:value.replace('-','').replace('.','').replace(' ','').replace('=','')",
|
|
"onError": "keep-original",
|
|
"repeat": false,
|
|
"repeatCount": 10,
|
|
"description": "Text transform on cells in column 2003"
|
|
}
|
|
]
|