diff --git a/alephino/config/main/A_loeschen_A87-A95-A97.json b/alephino/config/main/A_star_A87-A95-A97.json similarity index 89% rename from alephino/config/main/A_loeschen_A87-A95-A97.json rename to alephino/config/main/A_star_A87-A95-A97.json index 788c3e9..a56d743 100644 --- a/alephino/config/main/A_loeschen_A87-A95-A97.json +++ b/alephino/config/main/A_star_A87-A95-A97.json @@ -1,6 +1,6 @@ [ { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -31,10 +31,11 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" }, { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -71,10 +72,11 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" }, { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -99,10 +101,11 @@ ], "mode": "row-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" }, { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -145,10 +148,11 @@ ], "mode": "row-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" }, { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -179,6 +183,7 @@ ], "mode": "row-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" } ] diff --git a/alephino/config/main/A_loeschen_abschlussarbeiten.json b/alephino/config/main/A_star_abschlussarbeiten.json similarity index 91% rename from alephino/config/main/A_loeschen_abschlussarbeiten.json rename to alephino/config/main/A_star_abschlussarbeiten.json index c887cd3..748a58d 100644 --- a/alephino/config/main/A_loeschen_abschlussarbeiten.json +++ b/alephino/config/main/A_star_abschlussarbeiten.json @@ -1,6 +1,6 @@ [ { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -44,10 +44,11 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" }, { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -81,6 +82,7 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" } ] diff --git a/alephino/config/main/A_loeschen_diverse.json b/alephino/config/main/A_star_diverse.json similarity index 84% rename from alephino/config/main/A_loeschen_diverse.json rename to alephino/config/main/A_star_diverse.json index 62dacca..4a96c21 100644 --- a/alephino/config/main/A_loeschen_diverse.json +++ b/alephino/config/main/A_star_diverse.json @@ -1,6 +1,6 @@ [ { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -31,10 +31,11 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" }, { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -59,10 +60,11 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" }, { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -77,10 +79,11 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" }, { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -105,10 +108,11 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" }, { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -123,10 +127,11 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" }, { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -141,10 +146,11 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" }, { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -159,10 +165,11 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" }, { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -177,10 +184,11 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" }, { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -205,6 +213,7 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" } ] diff --git a/alephino/config/main/A_loeschen_zeitschriften.json b/alephino/config/main/A_star_zeitschriften.json similarity index 87% rename from alephino/config/main/A_loeschen_zeitschriften.json rename to alephino/config/main/A_star_zeitschriften.json index 7410014..0e004b1 100644 --- a/alephino/config/main/A_loeschen_zeitschriften.json +++ b/alephino/config/main/A_star_zeitschriften.json @@ -1,6 +1,6 @@ [ { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -25,10 +25,11 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" }, { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -43,10 +44,11 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" }, { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -83,10 +85,11 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" }, { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -111,10 +114,11 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" }, { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -139,6 +143,7 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" } ] diff --git a/alephino/config/main/B_loeschen_unterordnungen.json b/alephino/config/main/B_loeschen_unterordnungen.json new file mode 100644 index 0000000..52e590b --- /dev/null +++ b/alephino/config/main/B_loeschen_unterordnungen.json @@ -0,0 +1,87 @@ +[ + { + "op": "core/column-addition", + "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" + }, + "baseColumnName": "M|IDN", + "expression": "grel:value", + "onError": "set-to-blank", + "newColumnName": "delete", + "columnInsertIndex": 3, + "description": "Create column delete at index 3 based on column M|IDN using expression grel:value" + }, + { + "op": "core/row-removal", + "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": "M|GT0", + "expression": "grel:forNonBlank(forNonBlank(filter(value.split('\u001f'), f, f[0] == 'L')[0].slice(1), x, x, null).cross('alephino','delete')[0],v,'delete','')", + "columnName": "M|GT0", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": "delete", + "l": "delete" + } + } + ], + "selectBlank": false, + "selectError": false + } + ], + "mode": "row-based" + }, + "description": "Remove rows" + }, + { + "op": "core/column-removal", + "columnName": "delete", + "description": "Remove column delete" + } +] diff --git a/alephino/config/main/A_loeschen_schriftreihen.json b/alephino/config/main/C_star_schriftreihen.json similarity index 89% rename from alephino/config/main/A_loeschen_schriftreihen.json rename to alephino/config/main/C_star_schriftreihen.json index 761de71..e6be7d4 100644 --- a/alephino/config/main/A_loeschen_schriftreihen.json +++ b/alephino/config/main/C_star_schriftreihen.json @@ -1,6 +1,6 @@ [ { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -25,10 +25,11 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" }, { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -71,10 +72,11 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" }, { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -99,10 +101,11 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" }, { - "op": "core/row-removal", + "op": "core/row-star", "engineConfig": { "facets": [ { @@ -127,6 +130,7 @@ ], "mode": "record-based" }, - "description": "Remove rows" + "starred": true, + "description": "Star rows" } ] diff --git a/alephino/config/main/D_loeschen_star.json b/alephino/config/main/D_loeschen_star.json new file mode 100644 index 0000000..e3c91b4 --- /dev/null +++ b/alephino/config/main/D_loeschen_star.json @@ -0,0 +1,30 @@ +[ + { + "op": "core/row-removal", + "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" + }, + "description": "Remove rows" + } +] diff --git a/alephino/config/main/U-check-gtx-subfield.json b/alephino/config/main/U-check-gtx-subfield.json new file mode 100644 index 0000000..8b16864 --- /dev/null +++ b/alephino/config/main/U-check-gtx-subfield.json @@ -0,0 +1,182 @@ +[ + { + "op": "core/text-transform", + "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": "M|GT0", + "expression": "grel:forNonBlank(filter(value.split('\u001f'), f, f[0] == 'L')[0].slice(1), x, 'L', null)", + "columnName": "M|GT0", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [], + "selectBlank": true, + "selectError": false + } + ], + "mode": "row-based" + }, + "columnName": "M|GT0", + "expression": "null", + "onError": "keep-original", + "repeat": false, + "repeatCount": 10, + "description": "Text transform on cells in column M|GT0 using expression null" + }, + { + "op": "core/text-transform", + "engineConfig": { + "facets": [ + { + "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 + }, + { + "type": "list", + "name": "M|GT1", + "expression": "grel:forNonBlank(filter(value.split('\u001f'), f, f[0] == 'L')[0].slice(1), x, 'L', null)", + "columnName": "M|GT1", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [], + "selectBlank": true, + "selectError": false + } + ], + "mode": "row-based" + }, + "columnName": "M|GT1", + "expression": "null", + "onError": "keep-original", + "repeat": false, + "repeatCount": 10, + "description": "Text transform on cells in column M|GT1 using expression null" + }, + { + "op": "core/text-transform", + "engineConfig": { + "facets": [ + { + "type": "list", + "name": "M|GT2", + "expression": "isBlank(value)", + "columnName": "M|GT2", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": false, + "l": "false" + } + } + ], + "selectBlank": false, + "selectError": false + }, + { + "type": "list", + "name": "M|GT2", + "expression": "grel:forNonBlank(filter(value.split('\u001f'), f, f[0] == 'L')[0].slice(1), x, 'L', null)", + "columnName": "M|GT2", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [], + "selectBlank": true, + "selectError": false + } + ], + "mode": "row-based" + }, + "columnName": "M|GT2", + "expression": "null", + "onError": "keep-original", + "repeat": false, + "repeatCount": 10, + "description": "Text transform on cells in column M|GT2 using expression null" + }, + { + "op": "core/text-transform", + "engineConfig": { + "facets": [ + { + "type": "list", + "name": "M|GT3", + "expression": "isBlank(value)", + "columnName": "M|GT3", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [ + { + "v": { + "v": false, + "l": "false" + } + } + ], + "selectBlank": false, + "selectError": false + }, + { + "type": "list", + "name": "M|GT3", + "expression": "grel:forNonBlank(filter(value.split('\u001f'), f, f[0] == 'L')[0].slice(1), x, 'L', null)", + "columnName": "M|GT3", + "invert": false, + "omitBlank": false, + "omitError": false, + "selection": [], + "selectBlank": true, + "selectError": false + } + ], + "mode": "row-based" + }, + "columnName": "M|GT3", + "expression": "null", + "onError": "keep-original", + "repeat": false, + "repeatCount": 10, + "description": "Text transform on cells in column M|GT3 using expression null" + } +]