ba-sachsen-pica/alephino/config/main/T_4243.json

55 lines
1.5 KiB
JSON

[
{
"op": "core/column-addition",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "M|527",
"expression": "isBlank(value)",
"columnName": "M|527",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": false,
"l": "false"
}
}
],
"selectBlank": false,
"selectError": false
},
{
"type": "list",
"name": "M|527",
"expression": "grel:if(and(cells['File'].value == 'RS', not(value.contains('\u001fp'))), true, false)",
"columnName": "M|527",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": false,
"l": "false"
}
}
],
"selectBlank": false,
"selectError": false
}
],
"mode": "row-based"
},
"baseColumnName": "M|527",
"expression": "grel:forEach(value.split('␟'), v, forNonBlank(filter(v.split('\u001f'), f, f[0] == 'p')[0].slice(1), x, '\u001fi' + x, '') + forNonBlank(filter(v.split('\u001f'), f, f[0] == 'a')[0].slice(1), x, '\u001fa' + x.replace('¬','').replace(/^:\\s?/,''), '')).join('␟')",
"onError": "set-to-blank",
"newColumnName": "4243",
"columnInsertIndex": 3,
"description": "Create column 4243"
}
]