From a8e10e2d5eaea5013e680c4aa9e5ea52fe5bac00 Mon Sep 17 00:00:00 2001 From: Felix Lohmeier Date: Sun, 15 May 2022 20:53:31 +0200 Subject: [PATCH] =?UTF-8?q?=C3=9Cberordnungen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- alephino/config/main/U-gt0LE-gt0RS.json | 106 ++++ alephino/config/main/V_fail-gt0-zu-gt1.json | 368 ++++++++++++ alephino/config/main/W-ueberordnungen.json | 539 ++++++++++++++++++ .../config/main/Z_loeschen-exemplarlose.json | 114 ---- 4 files changed, 1013 insertions(+), 114 deletions(-) create mode 100644 alephino/config/main/U-gt0LE-gt0RS.json create mode 100644 alephino/config/main/V_fail-gt0-zu-gt1.json create mode 100644 alephino/config/main/W-ueberordnungen.json diff --git a/alephino/config/main/U-gt0LE-gt0RS.json b/alephino/config/main/U-gt0LE-gt0RS.json new file mode 100644 index 0000000..db3b780 --- /dev/null +++ b/alephino/config/main/U-gt0LE-gt0RS.json @@ -0,0 +1,106 @@ +[ + { + "op": "core/column-addition", + "engineConfig": { + "facets": [ + { + "type": "list", + "name": "M|GT0", + "expression": "isBlank(value)", + "columnName": "M|GT0", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": false, + "l": "false" + } + } + ], + "selectBlank": false, + "selectError": false + }, + { + "type": "list", + "name": "File", + "expression": "value", + "columnName": "File", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": "LE", + "l": "LE" + } + } + ], + "selectBlank": false, + "selectError": false + } + ], + "mode": "row-based" + }, + "baseColumnName": "M|GT0", + "expression": "grel:value[2,11]", + "onError": "set-to-blank", + "newColumnName": "gt0LE", + "columnInsertIndex": 3, + "description": "Create column gt0LE at index 3 based on column M|GT0 using expression grel:value[2,11]" + }, + { + "op": "core/column-addition", + "engineConfig": { + "facets": [ + { + "type": "list", + "name": "M|GT0", + "expression": "isBlank(value)", + "columnName": "M|GT0", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": false, + "l": "false" + } + } + ], + "selectBlank": false, + "selectError": false + }, + { + "type": "list", + "name": "File", + "expression": "value", + "columnName": "File", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": "RS", + "l": "RS" + } + } + ], + "selectBlank": false, + "selectError": false + } + ], + "mode": "row-based" + }, + "baseColumnName": "M|GT0", + "expression": "grel:value[2,11]", + "onError": "set-to-blank", + "newColumnName": "gt0RS", + "columnInsertIndex": 3, + "description": "Create column gt0RS at index 3 based on column M|GT0 using expression grel:value[2,11]" + } +] diff --git a/alephino/config/main/V_fail-gt0-zu-gt1.json b/alephino/config/main/V_fail-gt0-zu-gt1.json new file mode 100644 index 0000000..3d66437 --- /dev/null +++ b/alephino/config/main/V_fail-gt0-zu-gt1.json @@ -0,0 +1,368 @@ +[ + { + "op": "core/row-star", + "engineConfig": { + "facets": [ + { + "type": "list", + "name": "M|GT0", + "expression": "isBlank(value)", + "columnName": "M|GT0", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": false, + "l": "false" + } + } + ], + "selectBlank": false, + "selectError": false + }, + { + "type": "list", + "name": "File", + "expression": "value", + "columnName": "File", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": "RS", + "l": "RS" + } + } + ], + "selectBlank": false, + "selectError": false + }, + { + "type": "list", + "name": "gt0RS", + "expression": "grel:forEach(value.cross('alephino','M|IDN'),r,r.cells['File'].value)", + "columnName": "gt0RS", + "invert": true, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": "RS", + "l": "RS" + } + } + ], + "selectBlank": false, + "selectError": false + } + ], + "mode": "row-based" + }, + "starred": true, + "description": "Star rows" + }, + { + "op": "core/row-star", + "engineConfig": { + "facets": [ + { + "type": "list", + "name": "M|GT0", + "expression": "isBlank(value)", + "columnName": "M|GT0", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": false, + "l": "false" + } + } + ], + "selectBlank": false, + "selectError": false + }, + { + "type": "list", + "name": "File", + "expression": "value", + "columnName": "File", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": "LE", + "l": "LE" + } + } + ], + "selectBlank": false, + "selectError": false + }, + { + "type": "list", + "name": "gt0LE", + "expression": "grel:forEach(value.cross('alephino','M|IDN'),r,r.cells['File'].value)", + "columnName": "gt0LE", + "invert": true, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": "LE", + "l": "LE" + } + } + ], + "selectBlank": false, + "selectError": false + } + ], + "mode": "row-based" + }, + "starred": true, + "description": "Star rows" + }, + { + "op": "core/text-transform", + "engineConfig": { + "facets": [ + { + "type": "list", + "name": "Starred Rows", + "expression": "row.starred", + "columnName": "", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": true, + "l": "true" + } + } + ], + "selectBlank": false, + "selectError": false + }, + { + "type": "list", + "name": "M|GT1", + "expression": "isBlank(value)", + "columnName": "M|GT1", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": false, + "l": "false" + } + } + ], + "selectBlank": false, + "selectError": false + } + ], + "mode": "row-based" + }, + "columnName": "M|GT2", + "expression": "grel:cells['M|GT0'].value", + "onError": "keep-original", + "repeat": false, + "repeatCount": 10, + "description": "Text transform on cells in column M|GT2 using expression grel:cells['M|GT0'].value" + }, + { + "op": "core/text-transform", + "engineConfig": { + "facets": [ + { + "type": "list", + "name": "Starred Rows", + "expression": "row.starred", + "columnName": "", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": true, + "l": "true" + } + } + ], + "selectBlank": false, + "selectError": false + }, + { + "type": "list", + "name": "M|GT1", + "expression": "isBlank(value)", + "columnName": "M|GT1", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": true, + "l": "true" + } + } + ], + "selectBlank": false, + "selectError": false + } + ], + "mode": "row-based" + }, + "columnName": "M|GT1", + "expression": "grel:cells['M|GT0'].value", + "onError": "keep-original", + "repeat": false, + "repeatCount": 10, + "description": "Text transform on cells in column M|GT1 using expression grel:cells['M|GT0'].value" + }, + { + "op": "core/text-transform", + "engineConfig": { + "facets": [ + { + "type": "list", + "name": "Starred Rows", + "expression": "row.starred", + "columnName": "", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": true, + "l": "true" + } + } + ], + "selectBlank": false, + "selectError": false + } + ], + "mode": "row-based" + }, + "columnName": "M|GT0", + "expression": "grel:null", + "onError": "keep-original", + "repeat": false, + "repeatCount": 10, + "description": "Text transform on cells in column M|GT0 using expression grel:null" + }, + { + "op": "core/text-transform", + "engineConfig": { + "facets": [ + { + "type": "list", + "name": "Starred Rows", + "expression": "row.starred", + "columnName": "", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": true, + "l": "true" + } + } + ], + "selectBlank": false, + "selectError": false + } + ], + "mode": "row-based" + }, + "columnName": "gt0RS", + "expression": "grel:null", + "onError": "keep-original", + "repeat": false, + "repeatCount": 10, + "description": "Text transform on cells in column gt0RS using expression grel:null" + }, + { + "op": "core/text-transform", + "engineConfig": { + "facets": [ + { + "type": "list", + "name": "Starred Rows", + "expression": "row.starred", + "columnName": "", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": true, + "l": "true" + } + } + ], + "selectBlank": false, + "selectError": false + } + ], + "mode": "row-based" + }, + "columnName": "gt0LE", + "expression": "grel:null", + "onError": "keep-original", + "repeat": false, + "repeatCount": 10, + "description": "Text transform on cells in column gt0LE using expression grel:null" + }, + { + "op": "core/row-star", + "engineConfig": { + "facets": [ + { + "type": "list", + "name": "Starred Rows", + "expression": "row.starred", + "columnName": "", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": true, + "l": "true" + } + } + ], + "selectBlank": false, + "selectError": false + } + ], + "mode": "row-based" + }, + "starred": false, + "description": "Unstar rows" + } +] diff --git a/alephino/config/main/W-ueberordnungen.json b/alephino/config/main/W-ueberordnungen.json new file mode 100644 index 0000000..b22a5f9 --- /dev/null +++ b/alephino/config/main/W-ueberordnungen.json @@ -0,0 +1,539 @@ +[ + { + "op": "core/row-star", + "engineConfig": { + "facets": [ + { + "type": "list", + "name": "File", + "expression": "value", + "columnName": "File", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": "LE", + "l": "LE" + } + } + ], + "selectBlank": false, + "selectError": false + }, + { + "type": "list", + "name": "M|IDN", + "expression": "grel:forNonBlank(value.cross('alephino','gt0LE')[0],v,'gt0','')", + "columnName": "M|IDN", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": "gt0", + "l": "gt0" + } + } + ], + "selectBlank": false, + "selectError": false + } + ], + "mode": "row-based" + }, + "starred": true, + "description": "Star rows" + }, + { + "op": "core/row-star", + "engineConfig": { + "facets": [ + { + "type": "list", + "name": "File", + "expression": "value", + "columnName": "File", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": "RS", + "l": "RS" + } + } + ], + "selectBlank": false, + "selectError": false + }, + { + "type": "list", + "name": "M|IDN", + "expression": "grel:forNonBlank(value.cross('alephino','gt0RS')[0],v,'gt0','')", + "columnName": "M|IDN", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": "gt0", + "l": "gt0" + } + } + ], + "selectBlank": false, + "selectError": false + } + ], + "mode": "row-based" + }, + "starred": true, + "description": "Star rows" + }, + { + "op": "core/text-transform", + "engineConfig": { + "facets": [ + { + "type": "list", + "name": "Starred Rows", + "expression": "row.starred", + "columnName": "", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": true, + "l": "true" + } + } + ], + "selectBlank": false, + "selectError": false + }, + { + "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 + } + ], + "mode": "row-based" + }, + "columnName": "0500", + "expression": "grel:value + 'c'", + "onError": "keep-original", + "repeat": false, + "repeatCount": 10, + "description": "Text transform on cells in column 0500 using expression grel:value + 'c'" + }, + { + "op": "core/text-transform", + "engineConfig": { + "facets": [ + { + "type": "list", + "name": "Starred Rows", + "expression": "row.starred", + "columnName": "", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": false, + "l": "false" + } + } + ], + "selectBlank": false, + "selectError": false + }, + { + "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": "M|331", + "expression": "isBlank(value)", + "columnName": "M|331", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": false, + "l": "false" + } + } + ], + "selectBlank": false, + "selectError": false + } + ], + "mode": "row-based" + }, + "columnName": "0500", + "expression": "grel:value + 'F'", + "onError": "keep-original", + "repeat": false, + "repeatCount": 10, + "description": "Text transform on cells in column 0500 using expression grel:value + 'F'" + }, + { + "op": "core/text-transform", + "engineConfig": { + "facets": [ + { + "type": "list", + "name": "Starred Rows", + "expression": "row.starred", + "columnName": "", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": false, + "l": "false" + } + } + ], + "selectBlank": false, + "selectError": false + }, + { + "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": "M|331", + "expression": "isBlank(value)", + "columnName": "M|331", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": true, + "l": "true" + } + } + ], + "selectBlank": false, + "selectError": false + } + ], + "mode": "row-based" + }, + "columnName": "0500", + "expression": "grel:value + 'f'", + "onError": "keep-original", + "repeat": false, + "repeatCount": 10, + "description": "Text transform on cells in column 0500 using expression grel:value + 'f'" + }, + { + "op": "core/text-transform", + "engineConfig": { + "facets": [ + { + "type": "list", + "name": "Starred Rows", + "expression": "row.starred", + "columnName": "", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": true, + "l": "true" + } + } + ], + "selectBlank": false, + "selectError": false + } + ], + "mode": "row-based" + }, + "columnName": "E0XX", + "expression": "grel:'␟' + 'neu'", + "onError": "keep-original", + "repeat": false, + "repeatCount": 10, + "description": "Text transform on cells in column E0XX using expression grel:'␟' + 'neu'" + }, + { + "op": "core/multivalued-cell-split", + "columnName": "E0XX", + "keyColumnName": "M|IDN", + "mode": "separator", + "separator": "␟", + "regex": false, + "description": "Split multi-valued cells in column E0XX" + }, + { + "op": "core/text-transform", + "engineConfig": { + "facets": [ + { + "type": "text", + "name": "E0XX", + "columnName": "E0XX", + "query": "neu", + "mode": "text", + "caseSensitive": false, + "invert": false + } + ], + "mode": "row-based" + }, + "columnName": "File", + "expression": "grel:row.record.cells['File'].value[0]", + "onError": "keep-original", + "repeat": false, + "repeatCount": 10, + "description": "Text transform on cells in column File using expression grel:row.record.cells['File'].value[0]" + }, + { + "op": "core/text-transform", + "engineConfig": { + "facets": [ + { + "type": "text", + "name": "E0XX", + "columnName": "E0XX", + "query": "neu", + "mode": "text", + "caseSensitive": false, + "invert": false + } + ], + "mode": "row-based" + }, + "columnName": "E0XXb", + "expression": "grel:'n' + cells['File'].value.toLowercase()", + "onError": "keep-original", + "repeat": false, + "repeatCount": 10, + "description": "Text transform on cells in column E0XXb using expression grel:'n' + cells['File'].value.toLowercase()" + }, + { + "op": "core/text-transform", + "engineConfig": { + "facets": [ + { + "type": "text", + "name": "E0XX", + "columnName": "E0XX", + "query": "neu", + "mode": "text", + "caseSensitive": false, + "invert": false + } + ], + "mode": "row-based" + }, + "columnName": "7100f", + "expression": "grel:cells['File'].value", + "onError": "keep-original", + "repeat": false, + "repeatCount": 10, + "description": "Text transform on cells in column 7100f using expression grel:cells['File'].value" + }, + { + "op": "core/text-transform", + "engineConfig": { + "facets": [ + { + "type": "text", + "name": "E0XX", + "columnName": "E0XX", + "query": "neu", + "mode": "text", + "caseSensitive": false, + "invert": false + }, + { + "type": "list", + "name": "File", + "expression": "value", + "columnName": "File", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": "LE", + "l": "LE" + } + } + ], + "selectBlank": false, + "selectError": false + } + ], + "mode": "row-based" + }, + "columnName": "7100j", + "expression": "grel:'0005'", + "onError": "keep-original", + "repeat": false, + "repeatCount": 10, + "description": "Text transform on cells in column 7100j using expression grel:'0005'" + }, + { + "op": "core/text-transform", + "engineConfig": { + "facets": [ + { + "type": "text", + "name": "E0XX", + "columnName": "E0XX", + "query": "neu", + "mode": "text", + "caseSensitive": false, + "invert": false + }, + { + "type": "list", + "name": "File", + "expression": "value", + "columnName": "File", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": "RS", + "l": "RS" + } + } + ], + "selectBlank": false, + "selectError": false + } + ], + "mode": "row-based" + }, + "columnName": "7100j", + "expression": "grel:'0006'", + "onError": "keep-original", + "repeat": false, + "repeatCount": 10, + "description": "Text transform on cells in column 7100j using expression grel:'0006'" + }, + { + "op": "core/text-transform", + "engineConfig": { + "facets": [ + { + "type": "text", + "name": "E0XX", + "columnName": "E0XX", + "query": "neu", + "mode": "text", + "caseSensitive": false, + "invert": false + } + ], + "mode": "row-based" + }, + "columnName": "E0XX", + "expression": "grel:'15-05-22'", + "onError": "keep-original", + "repeat": false, + "repeatCount": 10, + "description": "Text transform on cells in column E0XX using expression grel:'15-05-22'" + }, + { + "op": "core/row-star", + "engineConfig": { + "facets": [ + { + "type": "list", + "name": "Starred Rows", + "expression": "row.starred", + "columnName": "", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": true, + "l": "true" + } + } + ], + "selectBlank": false, + "selectError": false + } + ], + "mode": "record-based" + }, + "starred": false, + "description": "Unstar rows" + } +] diff --git a/alephino/config/main/Z_loeschen-exemplarlose.json b/alephino/config/main/Z_loeschen-exemplarlose.json index 24963f2..5117163 100644 --- a/alephino/config/main/Z_loeschen-exemplarlose.json +++ b/alephino/config/main/Z_loeschen-exemplarlose.json @@ -1,108 +1,4 @@ [ - { - "op": "core/column-addition", - "engineConfig": { - "facets": [ - { - "type": "list", - "name": "M|GT0", - "expression": "isBlank(value)", - "columnName": "M|GT0", - "invert": false, - "omitBlank": false, - "omitError": false, - "selection": [ - { - "v": { - "v": false, - "l": "false" - } - } - ], - "selectBlank": false, - "selectError": false - }, - { - "type": "list", - "name": "File", - "expression": "value", - "columnName": "File", - "invert": false, - "omitBlank": false, - "omitError": false, - "selection": [ - { - "v": { - "v": "LE", - "l": "LE" - } - } - ], - "selectBlank": false, - "selectError": false - } - ], - "mode": "row-based" - }, - "baseColumnName": "M|GT0", - "expression": "grel:value[2,11]", - "onError": "set-to-blank", - "newColumnName": "gt0LE", - "columnInsertIndex": 58, - "description": "Create column gt0LE at index 58 based on column M|GT0 using expression grel:value[2,11]" - }, - { - "op": "core/column-addition", - "engineConfig": { - "facets": [ - { - "type": "list", - "name": "M|GT0", - "expression": "isBlank(value)", - "columnName": "M|GT0", - "invert": false, - "omitBlank": false, - "omitError": false, - "selection": [ - { - "v": { - "v": false, - "l": "false" - } - } - ], - "selectBlank": false, - "selectError": false - }, - { - "type": "list", - "name": "File", - "expression": "value", - "columnName": "File", - "invert": false, - "omitBlank": false, - "omitError": false, - "selection": [ - { - "v": { - "v": "RS", - "l": "RS" - } - } - ], - "selectBlank": false, - "selectError": false - } - ], - "mode": "row-based" - }, - "baseColumnName": "M|GT0", - "expression": "grel:value[2,11]", - "onError": "set-to-blank", - "newColumnName": "gt0RS", - "columnInsertIndex": 58, - "description": "Create column gt0RS at index 58 based on column M|GT0 using expression grel:value[2,11]" - }, { "op": "core/row-removal", "engineConfig": { @@ -258,15 +154,5 @@ "mode": "row-based" }, "description": "Remove rows" - }, - { - "op": "core/column-removal", - "columnName": "gt0RS", - "description": "Remove column gt0RS" - }, - { - "op": "core/column-removal", - "columnName": "gt0LE", - "description": "Remove column gt0LE" } ]