Titeldaten bis Feld 196
This commit is contained in:
parent
eb6bf9fa74
commit
6ad79d03b6
|
@ -0,0 +1,541 @@
|
|||
[
|
||||
{
|
||||
"op": "core/column-addition",
|
||||
"engineConfig": {
|
||||
"facets": [],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"baseColumnName": "M|IDN",
|
||||
"expression": "grel:if(\nor(\ncells['M|076a'].value == 'vide',\ncells['M|076c'].value.contains('dvdv'),\ncells['M|076c'].value.contains('vika'),\ncells['M|077'].value.contains('videodisc')\n),\n'B',null)",
|
||||
"onError": "set-to-blank",
|
||||
"newColumnName": "0500",
|
||||
"columnInsertIndex": 1,
|
||||
"description": "Create column 0500 at index 1 based on column M|IDN using expression grel:if(\nor(\ncells['M|076a'].value == 'vide',\ncells['M|076c'].value.contains('dvdv'),\ncells['M|076c'].value.contains('vika'),\ncells['M|077'].value.contains('videodisc')\n),\n'B',null)"
|
||||
},
|
||||
{
|
||||
"op": "core/column-addition",
|
||||
"engineConfig": {
|
||||
"facets": [],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"baseColumnName": "M|IDN",
|
||||
"expression": "grel:if(\nor(\ncells['M|076a'].value == 'vide',\ncells['M|076c'].value.contains('dvdv'),\ncells['M|076c'].value.contains('vika'),\ncells['M|077'].value.contains('videodisc')\n),\n'vide',null)",
|
||||
"onError": "set-to-blank",
|
||||
"newColumnName": "1140",
|
||||
"columnInsertIndex": 1,
|
||||
"description": "Create column 1140 at index 1 based on column M|IDN using expression grel:if(\nor(\ncells['M|076a'].value == 'vide',\ncells['M|076c'].value.contains('dvdv'),\ncells['M|076c'].value.contains('vika'),\ncells['M|077'].value.contains('videodisc')\n),\n'vide',null)"
|
||||
},
|
||||
{
|
||||
"op": "core/text-transform",
|
||||
"engineConfig": {
|
||||
"facets": [
|
||||
{
|
||||
"type": "list",
|
||||
"name": "0500",
|
||||
"expression": "isBlank(value)",
|
||||
"columnName": "0500",
|
||||
"invert": false,
|
||||
"omitBlank": false,
|
||||
"omitError": false,
|
||||
"selection": [
|
||||
{
|
||||
"v": {
|
||||
"v": true,
|
||||
"l": "true"
|
||||
}
|
||||
}
|
||||
],
|
||||
"selectBlank": false,
|
||||
"selectError": false
|
||||
}
|
||||
],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"columnName": "0500",
|
||||
"expression": "grel:if(\nor(\ncells['M|050'].value[8] == 'd',\ncells['M|076a'].value.contains('crom')\n),\n'S',value)",
|
||||
"onError": "keep-original",
|
||||
"repeat": false,
|
||||
"repeatCount": 10,
|
||||
"description": "Text transform on cells in column 0500 using expression grel:if(\nor(\ncells['M|050'].value[8] == 'd',\ncells['M|076a'].value.contains('crom')\n),\n'S',value)"
|
||||
},
|
||||
{
|
||||
"op": "core/text-transform",
|
||||
"engineConfig": {
|
||||
"facets": [
|
||||
{
|
||||
"type": "list",
|
||||
"name": "0500",
|
||||
"expression": "isBlank(value)",
|
||||
"columnName": "0500",
|
||||
"invert": false,
|
||||
"omitBlank": false,
|
||||
"omitError": false,
|
||||
"selection": [
|
||||
{
|
||||
"v": {
|
||||
"v": true,
|
||||
"l": "true"
|
||||
}
|
||||
}
|
||||
],
|
||||
"selectBlank": false,
|
||||
"selectError": false
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"name": "M|076c",
|
||||
"columnName": "M|076c",
|
||||
"query": "cdda",
|
||||
"mode": "text",
|
||||
"caseSensitive": false,
|
||||
"invert": false
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"name": "M|077",
|
||||
"columnName": "M|077",
|
||||
"query": "cd-rom|compact",
|
||||
"mode": "regex",
|
||||
"caseSensitive": false,
|
||||
"invert": false
|
||||
}
|
||||
],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"columnName": "0500",
|
||||
"expression": "grel:'S'",
|
||||
"onError": "keep-original",
|
||||
"repeat": false,
|
||||
"repeatCount": 10,
|
||||
"description": "Text transform on cells in column 0500 using expression grel:'S'"
|
||||
},
|
||||
{
|
||||
"op": "core/text-transform",
|
||||
"engineConfig": {
|
||||
"facets": [
|
||||
{
|
||||
"type": "list",
|
||||
"name": "0500",
|
||||
"expression": "isBlank(value)",
|
||||
"columnName": "0500",
|
||||
"invert": false,
|
||||
"omitBlank": false,
|
||||
"omitError": false,
|
||||
"selection": [
|
||||
{
|
||||
"v": {
|
||||
"v": true,
|
||||
"l": "true"
|
||||
}
|
||||
}
|
||||
],
|
||||
"selectBlank": false,
|
||||
"selectError": false
|
||||
},
|
||||
{
|
||||
"type": "list",
|
||||
"name": "M|050",
|
||||
"expression": "grel:value[5,7]",
|
||||
"columnName": "M|050",
|
||||
"invert": false,
|
||||
"omitBlank": false,
|
||||
"omitError": false,
|
||||
"selection": [
|
||||
{
|
||||
"v": {
|
||||
"v": "aa",
|
||||
"l": "aa"
|
||||
}
|
||||
}
|
||||
],
|
||||
"selectBlank": false,
|
||||
"selectError": false
|
||||
}
|
||||
],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"columnName": "1140",
|
||||
"expression": "grel:'soto'",
|
||||
"onError": "keep-original",
|
||||
"repeat": false,
|
||||
"repeatCount": 10,
|
||||
"description": "Text transform on cells in column 1140 using expression grel:'soto'"
|
||||
},
|
||||
{
|
||||
"op": "core/text-transform",
|
||||
"engineConfig": {
|
||||
"facets": [
|
||||
{
|
||||
"type": "list",
|
||||
"name": "0500",
|
||||
"expression": "isBlank(value)",
|
||||
"columnName": "0500",
|
||||
"invert": false,
|
||||
"omitBlank": false,
|
||||
"omitError": false,
|
||||
"selection": [
|
||||
{
|
||||
"v": {
|
||||
"v": true,
|
||||
"l": "true"
|
||||
}
|
||||
}
|
||||
],
|
||||
"selectBlank": false,
|
||||
"selectError": false
|
||||
},
|
||||
{
|
||||
"type": "list",
|
||||
"name": "M|050",
|
||||
"expression": "grel:value[5,7]",
|
||||
"columnName": "M|050",
|
||||
"invert": false,
|
||||
"omitBlank": false,
|
||||
"omitError": false,
|
||||
"selection": [
|
||||
{
|
||||
"v": {
|
||||
"v": "aa",
|
||||
"l": "aa"
|
||||
}
|
||||
}
|
||||
],
|
||||
"selectBlank": false,
|
||||
"selectError": false
|
||||
}
|
||||
],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"columnName": "0500",
|
||||
"expression": "grel:'B'",
|
||||
"onError": "keep-original",
|
||||
"repeat": false,
|
||||
"repeatCount": 10,
|
||||
"description": "Text transform on cells in column 0500 using expression grel:'B'"
|
||||
},
|
||||
{
|
||||
"op": "core/text-transform",
|
||||
"engineConfig": {
|
||||
"facets": [
|
||||
{
|
||||
"type": "list",
|
||||
"name": "0500",
|
||||
"expression": "isBlank(value)",
|
||||
"columnName": "0500",
|
||||
"invert": false,
|
||||
"omitBlank": false,
|
||||
"omitError": false,
|
||||
"selection": [
|
||||
{
|
||||
"v": {
|
||||
"v": true,
|
||||
"l": "true"
|
||||
}
|
||||
}
|
||||
],
|
||||
"selectBlank": false,
|
||||
"selectError": false
|
||||
},
|
||||
{
|
||||
"type": "list",
|
||||
"name": "M|050",
|
||||
"expression": "grel:value[10]",
|
||||
"columnName": "M|050",
|
||||
"invert": false,
|
||||
"omitBlank": false,
|
||||
"omitError": false,
|
||||
"selection": [
|
||||
{
|
||||
"v": {
|
||||
"v": "a",
|
||||
"l": "a"
|
||||
}
|
||||
}
|
||||
],
|
||||
"selectBlank": false,
|
||||
"selectError": false
|
||||
}
|
||||
],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"columnName": "1140",
|
||||
"expression": "grel:'kart'",
|
||||
"onError": "keep-original",
|
||||
"repeat": false,
|
||||
"repeatCount": 10,
|
||||
"description": "Text transform on cells in column 1140 using expression grel:'kart'"
|
||||
},
|
||||
{
|
||||
"op": "core/text-transform",
|
||||
"engineConfig": {
|
||||
"facets": [
|
||||
{
|
||||
"type": "list",
|
||||
"name": "0500",
|
||||
"expression": "isBlank(value)",
|
||||
"columnName": "0500",
|
||||
"invert": false,
|
||||
"omitBlank": false,
|
||||
"omitError": false,
|
||||
"selection": [
|
||||
{
|
||||
"v": {
|
||||
"v": true,
|
||||
"l": "true"
|
||||
}
|
||||
}
|
||||
],
|
||||
"selectBlank": false,
|
||||
"selectError": false
|
||||
},
|
||||
{
|
||||
"type": "list",
|
||||
"name": "M|050",
|
||||
"expression": "grel:value[10]",
|
||||
"columnName": "M|050",
|
||||
"invert": false,
|
||||
"omitBlank": false,
|
||||
"omitError": false,
|
||||
"selection": [
|
||||
{
|
||||
"v": {
|
||||
"v": "a",
|
||||
"l": "a"
|
||||
}
|
||||
}
|
||||
],
|
||||
"selectBlank": false,
|
||||
"selectError": false
|
||||
}
|
||||
],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"columnName": "0500",
|
||||
"expression": "grel:'A'",
|
||||
"onError": "keep-original",
|
||||
"repeat": false,
|
||||
"repeatCount": 10,
|
||||
"description": "Text transform on cells in column 0500 using expression grel:'A'"
|
||||
},
|
||||
{
|
||||
"op": "core/text-transform",
|
||||
"engineConfig": {
|
||||
"facets": [
|
||||
{
|
||||
"type": "list",
|
||||
"name": "0500",
|
||||
"expression": "isBlank(value)",
|
||||
"columnName": "0500",
|
||||
"invert": false,
|
||||
"omitBlank": false,
|
||||
"omitError": false,
|
||||
"selection": [
|
||||
{
|
||||
"v": {
|
||||
"v": true,
|
||||
"l": "true"
|
||||
}
|
||||
}
|
||||
],
|
||||
"selectBlank": false,
|
||||
"selectError": false
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"name": "M|077",
|
||||
"columnName": "M|077",
|
||||
"query": "karte",
|
||||
"mode": "text",
|
||||
"caseSensitive": false,
|
||||
"invert": false
|
||||
}
|
||||
],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"columnName": "1140",
|
||||
"expression": "grel:'kart'",
|
||||
"onError": "keep-original",
|
||||
"repeat": false,
|
||||
"repeatCount": 10,
|
||||
"description": "Text transform on cells in column 1140 using expression grel:'kart'"
|
||||
},
|
||||
{
|
||||
"op": "core/text-transform",
|
||||
"engineConfig": {
|
||||
"facets": [
|
||||
{
|
||||
"type": "list",
|
||||
"name": "0500",
|
||||
"expression": "isBlank(value)",
|
||||
"columnName": "0500",
|
||||
"invert": false,
|
||||
"omitBlank": false,
|
||||
"omitError": false,
|
||||
"selection": [
|
||||
{
|
||||
"v": {
|
||||
"v": true,
|
||||
"l": "true"
|
||||
}
|
||||
}
|
||||
],
|
||||
"selectBlank": false,
|
||||
"selectError": false
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"name": "M|077",
|
||||
"columnName": "M|077",
|
||||
"query": "karte",
|
||||
"mode": "text",
|
||||
"caseSensitive": false,
|
||||
"invert": false
|
||||
}
|
||||
],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"columnName": "0500",
|
||||
"expression": "grel:'A'",
|
||||
"onError": "keep-original",
|
||||
"repeat": false,
|
||||
"repeatCount": 10,
|
||||
"description": "Text transform on cells in column 0500 using expression grel:'A'"
|
||||
},
|
||||
{
|
||||
"op": "core/text-transform",
|
||||
"engineConfig": {
|
||||
"facets": [
|
||||
{
|
||||
"type": "list",
|
||||
"name": "0500",
|
||||
"expression": "isBlank(value)",
|
||||
"columnName": "0500",
|
||||
"invert": false,
|
||||
"omitBlank": false,
|
||||
"omitError": false,
|
||||
"selection": [
|
||||
{
|
||||
"v": {
|
||||
"v": true,
|
||||
"l": "true"
|
||||
}
|
||||
}
|
||||
],
|
||||
"selectBlank": false,
|
||||
"selectError": false
|
||||
},
|
||||
{
|
||||
"type": "list",
|
||||
"name": "M|050",
|
||||
"expression": "grel:value[5,7]",
|
||||
"columnName": "M|050",
|
||||
"invert": false,
|
||||
"omitBlank": false,
|
||||
"omitError": false,
|
||||
"selection": [
|
||||
{
|
||||
"v": {
|
||||
"v": "dc",
|
||||
"l": "dc"
|
||||
}
|
||||
}
|
||||
],
|
||||
"selectBlank": false,
|
||||
"selectError": false
|
||||
}
|
||||
],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"columnName": "1140",
|
||||
"expression": "grel:'bild'",
|
||||
"onError": "keep-original",
|
||||
"repeat": false,
|
||||
"repeatCount": 10,
|
||||
"description": "Text transform on cells in column 1140 using expression grel:'bild'"
|
||||
},
|
||||
{
|
||||
"op": "core/text-transform",
|
||||
"engineConfig": {
|
||||
"facets": [
|
||||
{
|
||||
"type": "list",
|
||||
"name": "0500",
|
||||
"expression": "isBlank(value)",
|
||||
"columnName": "0500",
|
||||
"invert": false,
|
||||
"omitBlank": false,
|
||||
"omitError": false,
|
||||
"selection": [
|
||||
{
|
||||
"v": {
|
||||
"v": true,
|
||||
"l": "true"
|
||||
}
|
||||
}
|
||||
],
|
||||
"selectBlank": false,
|
||||
"selectError": false
|
||||
},
|
||||
{
|
||||
"type": "list",
|
||||
"name": "M|050",
|
||||
"expression": "grel:value[5,7]",
|
||||
"columnName": "M|050",
|
||||
"invert": false,
|
||||
"omitBlank": false,
|
||||
"omitError": false,
|
||||
"selection": [
|
||||
{
|
||||
"v": {
|
||||
"v": "dc",
|
||||
"l": "dc"
|
||||
}
|
||||
}
|
||||
],
|
||||
"selectBlank": false,
|
||||
"selectError": false
|
||||
}
|
||||
],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"columnName": "0500",
|
||||
"expression": "grel:'Ban'",
|
||||
"onError": "keep-original",
|
||||
"repeat": false,
|
||||
"repeatCount": 10,
|
||||
"description": "Text transform on cells in column 0500 using expression grel:'Ban'"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"columnName": "0500",
|
||||
"expression": "grel:'A'",
|
||||
"onError": "keep-original",
|
||||
"repeat": false,
|
||||
"repeatCount": 10,
|
||||
"description": "Text transform on cells in column 0500 using expression grel:'A'"
|
||||
}
|
||||
]
|
|
@ -0,0 +1,93 @@
|
|||
[
|
||||
{
|
||||
"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",
|
||||
"columnInsertIndex": 1,
|
||||
"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",
|
||||
"columnInsertIndex": 1,
|
||||
"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/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",
|
||||
"columnInsertIndex": 1,
|
||||
"description": "Create column 1100b"
|
||||
}
|
||||
]
|
|
@ -0,0 +1,88 @@
|
|||
[
|
||||
{
|
||||
"op": "core/column-addition",
|
||||
"engineConfig": {
|
||||
"facets": [],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"baseColumnName": "M|IDN",
|
||||
"expression": "grel:[forNonBlank(cells['M|064'].value, v, v, null) , forNonBlank(cells['M|064a'].value, v ,v, null)].join('␟')",
|
||||
"onError": "set-to-blank",
|
||||
"newColumnName": "1131",
|
||||
"columnInsertIndex": 1,
|
||||
"description": "Create column 1131 at index 1 based on column M|IDN using expression grel:[forNonBlank(cells['M|064'].value, v, v, null) , forNonBlank(cells['M|064a'].value, v ,v, null)].join('␟')"
|
||||
},
|
||||
{
|
||||
"op": "core/text-transform",
|
||||
"engineConfig": {
|
||||
"facets": [
|
||||
{
|
||||
"type": "list",
|
||||
"name": "1131",
|
||||
"expression": "isBlank(value)",
|
||||
"columnName": "1131",
|
||||
"invert": false,
|
||||
"omitBlank": false,
|
||||
"omitError": false,
|
||||
"selection": [
|
||||
{
|
||||
"v": {
|
||||
"v": false,
|
||||
"l": "false"
|
||||
}
|
||||
}
|
||||
],
|
||||
"selectBlank": false,
|
||||
"selectError": false
|
||||
}
|
||||
],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"columnName": "1131",
|
||||
"expression": "grel:forEach(value.split('␟'), x, filter(x.split('\u001f'), v, or(v.startsWith('a'),v.startsWith('y'),v.startsWith('z'))).join('\u001f')).join('␟')",
|
||||
"onError": "keep-original",
|
||||
"repeat": false,
|
||||
"repeatCount": 10,
|
||||
"description": "Text transform on cells in column 1131 using expression grel:forEach(value.split('␟'), x, filter(x.split('\u001f'), v, or(v.startsWith('a'),v.startsWith('y'),v.startsWith('z'))).join('\u001f')).join('␟')"
|
||||
},
|
||||
{
|
||||
"op": "core/mass-edit",
|
||||
"engineConfig": {
|
||||
"facets": [
|
||||
{
|
||||
"type": "list",
|
||||
"name": "1131",
|
||||
"expression": "isBlank(value)",
|
||||
"columnName": "1131",
|
||||
"invert": false,
|
||||
"omitBlank": false,
|
||||
"omitError": false,
|
||||
"selection": [
|
||||
{
|
||||
"v": {
|
||||
"v": false,
|
||||
"l": "false"
|
||||
}
|
||||
}
|
||||
],
|
||||
"selectBlank": false,
|
||||
"selectError": false
|
||||
}
|
||||
],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"columnName": "1131",
|
||||
"expression": "value",
|
||||
"edits": [
|
||||
{
|
||||
"from": [
|
||||
"aSoftware"
|
||||
],
|
||||
"fromBlank": false,
|
||||
"fromError": false,
|
||||
"to": ""
|
||||
}
|
||||
],
|
||||
"description": "Mass edit cells in column 1131"
|
||||
}
|
||||
]
|
|
@ -0,0 +1,28 @@
|
|||
[
|
||||
{
|
||||
"op": "core/column-addition",
|
||||
"engineConfig": {
|
||||
"facets": [],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"baseColumnName": "M|IDN",
|
||||
"expression": "grel:forEach(forEach(cells['M|037b'].value.split('␟'),v,v.replace('; ','‡').replace(',','‡').replace('\\\\','‡')).join('‡').split('‡'), x, x.trim()).join('‡')",
|
||||
"onError": "set-to-blank",
|
||||
"newColumnName": "1500",
|
||||
"columnInsertIndex": 1,
|
||||
"description": "Create column 1500 at index 1 based on column M|IDN using expression grel:forEach(forEach(cells['M|037b'].value.split('␟'),v,v.replace('; ','‡').replace(',','‡').replace('\\\\','‡')).join('‡').split('‡'), x, x.trim()).join('‡')"
|
||||
},
|
||||
{
|
||||
"op": "core/text-transform",
|
||||
"engineConfig": {
|
||||
"facets": [],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"columnName": "1500",
|
||||
"expression": "grel:forEach(value.split('‡'), v, v.replace(/^dt$/,'ger').replace(/^deu$/,'ger').replace(/^engl.$/,'eng').replace(/^engl$/,'eng')).uniques().join('‡')",
|
||||
"onError": "keep-original",
|
||||
"repeat": false,
|
||||
"repeatCount": 10,
|
||||
"description": "Text transform on cells in column 1500 using expression grel:forEach(value.split('‡'), v, v.replace(/^dt$/,'ger').replace(/^deu$/,'ger').replace(/^engl.$/,'eng').replace(/^engl$/,'eng')).uniques().join('‡')"
|
||||
}
|
||||
]
|
|
@ -0,0 +1,35 @@
|
|||
[
|
||||
{
|
||||
"op": "core/column-addition",
|
||||
"engineConfig": {
|
||||
"facets": [],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"baseColumnName": "M|IDN",
|
||||
"expression": "grel:filter(cells['M|036a'].value.split('␟'),v,v.startsWith('X')).join('‡')",
|
||||
"onError": "set-to-blank",
|
||||
"newColumnName": "1700",
|
||||
"columnInsertIndex": 1,
|
||||
"description": "Create column 1700"
|
||||
},
|
||||
{
|
||||
"op": "core/mass-edit",
|
||||
"engineConfig": {
|
||||
"facets": [],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"columnName": "1700",
|
||||
"expression": "value",
|
||||
"edits": [
|
||||
{
|
||||
"from": [
|
||||
"XA-DE++XA-AT++XA-CH"
|
||||
],
|
||||
"fromBlank": false,
|
||||
"fromError": false,
|
||||
"to": "XA-DE‡XA-AT‡XA-CH"
|
||||
}
|
||||
],
|
||||
"description": "Mass edit cells in column 1700"
|
||||
}
|
||||
]
|
|
@ -0,0 +1,28 @@
|
|||
[
|
||||
{
|
||||
"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 + '\u001ffo').join('␟'), null), forNonBlank(cells['M|087b'].value, v, v + '\u001ffa', null), forNonBlank(cells['M|087o'].value, v, v + '\u001ffo', null)].join('␟')",
|
||||
"onError": "set-to-blank",
|
||||
"newColumnName": "2003",
|
||||
"columnInsertIndex": 1,
|
||||
"description": "Create column 2003 at index 1 based on column M|IDN using expression grel:[forNonBlank(cells['M|087b'].value, v, v + '\u001ffa', null), forNonBlank(cells['M|087'].value, v, v + '\u001ffo', null), forNonBlank(cells['M|087o'].value, v, v + '\u001ffo', null)].join('␟')"
|
||||
},
|
||||
{
|
||||
"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 using expression grel:value.replace('-','').replace('.','').replace(' ','').replace('=','')"
|
||||
}
|
||||
]
|
|
@ -0,0 +1,51 @@
|
|||
[
|
||||
{
|
||||
"op": "core/column-addition",
|
||||
"engineConfig": {
|
||||
"facets": [],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"baseColumnName": "M|IDN",
|
||||
"expression": "grel:filter(cells['M|100'].value.split('\u001f'), v, v.startsWith('a'))[0].slice(1)",
|
||||
"onError": "set-to-blank",
|
||||
"newColumnName": "3000",
|
||||
"columnInsertIndex": 1,
|
||||
"description": "Create column 3000 at index 1 based on column M|IDN using expression grel:filter(cells['M|100'].value.split('\u001f'), v, v.startsWith('a'))[0].slice(1)"
|
||||
},
|
||||
{
|
||||
"op": "core/text-transform",
|
||||
"engineConfig": {
|
||||
"facets": [],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"columnName": "3000",
|
||||
"expression": "grel:if(\nvalue.contains(','),\n'\u001fa' + value.split(',')[0].trim() + '\u001fd' + value.split(',')[1].trim(),\n'\u001fP' + value\n)",
|
||||
"onError": "keep-original",
|
||||
"repeat": false,
|
||||
"repeatCount": 10,
|
||||
"description": "Text transform on cells in column 3000 using expression grel:if(\nvalue.contains(','),\n'\u001fa' + value.split(',')[0].trim() + '\u001fd' + value.split(',')[1].trim(),\n'\u001fP' + value\n)"
|
||||
},
|
||||
{
|
||||
"op": "core/text-transform",
|
||||
"engineConfig": {
|
||||
"facets": [
|
||||
{
|
||||
"type": "text",
|
||||
"name": "3000",
|
||||
"columnName": "3000",
|
||||
"query": "¬",
|
||||
"mode": "text",
|
||||
"caseSensitive": false,
|
||||
"invert": false
|
||||
}
|
||||
],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"columnName": "3000",
|
||||
"expression": "grel:value.split('¬')[0].trim() + '\u001fc' + value.split('¬')[1].trim()",
|
||||
"onError": "keep-original",
|
||||
"repeat": false,
|
||||
"repeatCount": 10,
|
||||
"description": "Text transform on cells in column 3000 using expression grel:value.split('¬')[0].trim() + '\u001fc' + value.split('¬')[1].trim()"
|
||||
}
|
||||
]
|
File diff suppressed because one or more lines are too long
|
@ -2,30 +2,15 @@
|
|||
if(row.index - row.record.fromRowIndex == 0,
|
||||
'' + '\n'
|
||||
+ forNonBlank(cells['0500'].value, v, '002@ ' + '0' + v + '\n', '')
|
||||
+ forNonBlank(cells['2000'].value, v, forEach(v.split('␟'),x,'004A ' + '0' + x + '\n').join(''), '')
|
||||
+ forNonBlank(cells['2009'].value, v, forEach(v.split('␟'),x,'004D ' + '0' + x + '\n').join(''), '')
|
||||
+ forNonBlank(cells['2201'].value, v, '004L ' + '0' + v + '\n', '')
|
||||
+ forNonBlank(cells['2003'].value, v, forEach(v.split('␟'), x, '004P ' + '0' + x + '\n').join(''), '')
|
||||
+ forNonBlank(cells['2199'].value, v, '006Y ' + '0' + v + '\n', '')
|
||||
+ forNonBlank(cells['1500'].value, v, '010@ ' + forEach(v.split('␟'),x,'a' + x).join('') + '\n', '')
|
||||
+ forNonBlank(cells['1100a'].value, v, '011@ ' + 'a' + v + forNonBlank(cells['1100n'].value, v, 'n' + v, '') + '\n', '')
|
||||
+ forNonBlank(cells['1131'].value, v, forEach(v.split('␟'),x,'013D ' + 'a' + x + '\n').join(''), '')
|
||||
+ forNonBlank(cells['1500'].value, v, '010@ ' + forEach(v.split('‡'),x,'a' + x).join('') + '\n', '')
|
||||
+ forNonBlank(cells['1100a'].value, v, '011@ ' + 'a' + v + forNonBlank(cells['1100b'].value, v, 'b' + v, '') + forNonBlank(cells['1100n'].value, v, 'n' + v, '') + '\n', '')
|
||||
+ forNonBlank(cells['1131'].value, v, forEach(v.split('␟'),x,'013D ' + '' + x + '\n').join(''), '')
|
||||
+ forNonBlank(cells['1140'].value, v, '013H ' + 'a' + v + '\n', '')
|
||||
+ forNonBlank(cells['4000a'].value, v, '021A ' + 'a' + v + forNonBlank(cells['4000d'].value, v, 'd' + v, '') + forNonBlank(cells['4000h'].value, v, 'h' + v, '') + '\n', '')
|
||||
+ forNonBlank(cells['4002'].value, v, forEach(v.split('␟'),x,'021G ' + x + '\n').join(''), '')
|
||||
+ forNonBlank(cells['3210'].value, v, '022A/00 ' + 'a' + v + '\n', '')
|
||||
+ forNonBlank(cells['1700'].value, v, '019@ ' + forEach(v.split('‡'),x,'a' + x).join('') + '\n', '')
|
||||
+ forNonBlank(cells['3000'].value, v, '028A ' + v + '\n', '')
|
||||
+ forNonBlank(cells['3010'].value, v, forEach(v.split('␟'), x, '028C ' + x + '\n').join(''), '')
|
||||
+ forNonBlank(cells['3110'].value, v, forEach(v.split('␟'),x,'029F ' + x + '\n').join(''), '')
|
||||
+ forNonBlank(cells['4020'].value, v, '032@ ' + 'a' + v + '\n', '')
|
||||
+ if(or(isNonBlank(cells['4030n'].value),isNonBlank(cells['4030p'].value)),'033A ' + forNonBlank(cells['4030p'].value, v, 'p' + v, '') + forNonBlank(cells['4030n'].value, v, 'n' + v,'') + '\n', '')
|
||||
+ forNonBlank(cells['4060'].value, v, '034D ' + 'a' + v + '\n', '')
|
||||
+ forNonBlank(cells['4062'].value, v, '034I ' + 'a' + v + '\n', '')
|
||||
+ forNonBlank(cells['4061'].value, v, '034M ' + 'a' + v + '\n', '')
|
||||
+ forNonBlank(cells['4150'].value, v, '036C/00 ' + v + '\n', '')
|
||||
+ forNonBlank(cells['4160'].value, v, '036D ' + v + '\n', '')
|
||||
+ forNonBlank(cells['4170_1'].value, v, '036E/00 ' + v + '\n', '')
|
||||
+ forNonBlank(cells['4170_2'].value, v, '036E/01 ' + v + '\n', '')
|
||||
+ forNonBlank(cells['4204'].value, v, '037C ' + 'a' + v + '\n', '')
|
||||
,'')
|
||||
}}{{
|
||||
if(isNonBlank(cells['E0XXb'].value),
|
||||
|
|
Loading…
Reference in New Issue