2022-03-17 01:32:31 +01:00
[
{
"op" : "core/column-addition" ,
"engineConfig" : {
"facets" : [ ] ,
"mode" : "row-based"
} ,
"baseColumnName" : "M|IDN" ,
2022-05-20 20:57:12 +02:00
"expression" : "grel:[forNonBlank(cells['M|087'].value, v, forEach(v.split('␟'), x, x + '\u001fSo').join('␟'), null), forNonBlank(cells['M|087b'].value, v, v + '\u001fSa', null), forNonBlank(cells['M|087o'].value, v, v + '\u001fSo', null)].join('␟')" ,
2022-03-17 01:32:31 +01:00
"onError" : "set-to-blank" ,
"newColumnName" : "2003" ,
2022-03-22 16:18:32 +01:00
"columnInsertIndex" : 3 ,
"description" : "Create column 2003"
2022-03-17 01:32:31 +01:00
} ,
{
"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 ,
2022-03-22 16:18:32 +01:00
"description" : "Text transform on cells in column 2003"
2022-06-30 16:04:13 +02:00
} ,
{
"op" : "core/text-transform" ,
"engineConfig" : {
"facets" : [
{
"type" : "list" ,
"name" : "2003" ,
"expression" : "isBlank(value)" ,
"columnName" : "2003" ,
"invert" : false ,
"omitBlank" : false ,
"omitError" : false ,
"selection" : [
{
"v" : {
"v" : false ,
"l" : "false"
}
}
] ,
"selectBlank" : false ,
"selectError" : false
}
] ,
"mode" : "row-based"
} ,
"columnName" : "2003" ,
"expression" : "grel:forEach(value.split('␟'), v, '\u001f0' + v).join('␟')" ,
"onError" : "keep-original" ,
"repeat" : false ,
"repeatCount" : 10 ,
"description" : "Text transform on cells in column 2003 using expression grel:forEach(value.split('␟'), v, '\u001f0' + v).join('␟')"
} ,
{
"op" : "core/text-transform" ,
"engineConfig" : {
"facets" : [
{
"type" : "list" ,
"name" : "2003" ,
"expression" : "isBlank(value)" ,
"columnName" : "2003" ,
"invert" : false ,
"omitBlank" : false ,
"omitError" : false ,
"selection" : [
{
"v" : {
"v" : false ,
"l" : "false"
}
}
] ,
"selectBlank" : false ,
"selectError" : false
}
] ,
"mode" : "row-based"
} ,
"columnName" : "2003" ,
"expression" : "grel:forEach(value.split('␟'), v, forEach(v.split('\u001f'), x, x).sort().reverse().join('\u001f')).join('␟')" ,
"onError" : "keep-original" ,
"repeat" : false ,
"repeatCount" : 10 ,
"description" : "Text transform on cells in column 2003 using expression grel:forEach(value.split('␟'), v, forEach(v.split('\u001f'), x, x).sort().reverse().join('\u001f')).join('␟')"
2022-03-17 01:32:31 +01:00
}
]