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

146 lines
3.6 KiB
JSON
Raw Normal View History

2022-03-17 01:32:31 +01:00
[
{
"op": "core/column-addition",
"engineConfig": {
"facets": [],
"mode": "row-based"
},
"baseColumnName": "M|IDN",
"expression": "grel:coalesce(cells['M|425'].value, forNonBlank(cells['M|419'].value.split('\u001fc')[1],v,v,null))",
"onError": "set-to-blank",
"newColumnName": "1100n",
2022-03-22 16:18:32 +01:00
"columnInsertIndex": 3,
2022-03-17 01:32:31 +01:00
"description": "Create column 1100n"
},
{
"op": "core/column-addition",
"engineConfig": {
"facets": [],
"mode": "row-based"
},
"baseColumnName": "M|IDN",
"expression": "grel:coalesce(cells['M|425a'].value, cells['M|425b'].value)",
"onError": "set-to-blank",
"newColumnName": "1100a",
2022-03-22 16:18:32 +01:00
"columnInsertIndex": 3,
2022-03-17 01:32:31 +01:00
"description": "Create column 1100a"
},
{
"op": "core/text-transform",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "1100n",
"expression": "isBlank(value)",
"columnName": "1100n",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": false,
"l": "false"
}
}
],
"selectBlank": false,
"selectError": false
},
{
"type": "list",
"name": "1100a",
"expression": "isBlank(value)",
"columnName": "1100a",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": true,
"l": "true"
}
}
],
"selectBlank": false,
"selectError": false
}
],
"mode": "row-based"
},
"columnName": "1100a",
"expression": "grel:cells['1100n'].value.find(/\\d{4}/)[0]",
"onError": "keep-original",
"repeat": false,
"repeatCount": 10,
"description": "Text transform on cells in column 1100a using expression grel:cells['1100n'].value.find(/\\d{4}/)[0]"
},
{
"op": "core/text-transform",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "M|IDN",
"expression": "isBlank(value)",
"columnName": "M|IDN",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": false,
"l": "false"
}
}
],
"selectBlank": false,
"selectError": false
},
{
"type": "list",
"name": "1100a",
"expression": "isBlank(value)",
"columnName": "1100a",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": true,
"l": "true"
}
}
],
"selectBlank": false,
"selectError": false
}
],
"mode": "row-based"
},
"columnName": "1100a",
"expression": "grel:'20XX'",
"onError": "keep-original",
"repeat": false,
"repeatCount": 10,
"description": "Text transform on cells in column 1100a using expression grel:'20XX'"
},
2022-03-17 01:32:31 +01:00
{
"op": "core/column-addition",
"engineConfig": {
"facets": [],
"mode": "row-based"
},
"baseColumnName": "M|IDN",
"expression": "grel:cells['M|425c'].value.find(/\\d{4}/)[0]",
"onError": "set-to-blank",
"newColumnName": "1100b",
2022-03-22 16:18:32 +01:00
"columnInsertIndex": 3,
2022-03-17 01:32:31 +01:00
"description": "Create column 1100b"
}
]