Optimierung Dokumentation

This commit is contained in:
Felix Lohmeier 2022-03-22 16:18:32 +01:00
parent 52c24c4bd7
commit 97caa1284b
9 changed files with 28 additions and 28 deletions

View File

@ -9,8 +9,8 @@
"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)"
"columnInsertIndex": 3,
"description": "Create column 0500"
},
{
"op": "core/column-addition",
@ -22,8 +22,8 @@
"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)"
"columnInsertIndex": 3,
"description": "Create column 1140"
},
{
"op": "core/text-transform",
@ -56,7 +56,7 @@
"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)"
"description": "Text transform on cells in column 0500"
},
{
"op": "core/text-transform",

View File

@ -9,7 +9,7 @@
"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,
"columnInsertIndex": 3,
"description": "Create column 1100n"
},
{
@ -22,7 +22,7 @@
"expression": "grel:coalesce(cells['M|425a'].value, cells['M|425b'].value)",
"onError": "set-to-blank",
"newColumnName": "1100a",
"columnInsertIndex": 1,
"columnInsertIndex": 3,
"description": "Create column 1100a"
},
{
@ -87,7 +87,7 @@
"expression": "grel:cells['M|425c'].value.find(/\\d{4}/)[0]",
"onError": "set-to-blank",
"newColumnName": "1100b",
"columnInsertIndex": 1,
"columnInsertIndex": 3,
"description": "Create column 1100b"
}
]

View File

@ -9,8 +9,8 @@
"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('␟')"
"columnInsertIndex": 3,
"description": "Create column 1131"
},
{
"op": "core/text-transform",
@ -43,7 +43,7 @@
"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('␟')"
"description": "Text transform on cells in column 1131"
},
{
"op": "core/mass-edit",

View File

@ -9,8 +9,8 @@
"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('‡')"
"columnInsertIndex": 3,
"description": "Create column 1500"
},
{
"op": "core/text-transform",
@ -23,6 +23,6 @@
"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('‡')"
"description": "Text transform on cells in column 1500"
}
]

View File

@ -9,7 +9,7 @@
"expression": "grel:filter(cells['M|036a'].value.split('␟'),v,v.startsWith('X')).join('‡')",
"onError": "set-to-blank",
"newColumnName": "1700",
"columnInsertIndex": 1,
"columnInsertIndex": 3,
"description": "Create column 1700"
},
{

View File

@ -9,8 +9,8 @@
"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('␟')"
"columnInsertIndex": 3,
"description": "Create column 2003"
},
{
"op": "core/text-transform",
@ -23,6 +23,6 @@
"onError": "keep-original",
"repeat": false,
"repeatCount": 10,
"description": "Text transform on cells in column 2003 using expression grel:value.replace('-','').replace('.','').replace(' ','').replace('=','')"
"description": "Text transform on cells in column 2003"
}
]

View File

@ -9,7 +9,7 @@
"expression": "grel:'BA' + cells['File'].value + value",
"onError": "set-to-blank",
"newColumnName": "2199",
"columnInsertIndex": 1,
"description": "Create column 2199 at index 1 based on column M|IDN using expression grel:'BA' + cells['File'].value + value"
"columnInsertIndex": 3,
"description": "Create column 2199"
}
]

View File

@ -9,8 +9,8 @@
"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)"
"columnInsertIndex": 3,
"description": "Create column 3000"
},
{
"op": "core/text-transform",
@ -23,7 +23,7 @@
"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)"
"description": "Text transform on cells in column 3000"
},
{
"op": "core/text-transform",
@ -46,6 +46,6 @@
"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()"
"description": "Text transform on cells in column 3000"
}
]

File diff suppressed because one or more lines are too long