-
Notifications
You must be signed in to change notification settings - Fork 0
/
operations.json
52 lines (52 loc) · 1.61 KB
/
operations.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[
{
"op": "core/column-addition",
"description": "Create column Surname at index 1 based on column Column 1 using expression grel:value.match(/([^\\s]*)\\s([A-Z]).\\s?(.*)/)[2]",
"engineConfig": {
"mode": "row-based",
"facets": []
},
"newColumnName": "Surname",
"columnInsertIndex": 1,
"baseColumnName": "Column 1",
"expression": "grel:value.match(/([^\\s]*)\\s([A-Z]).\\s?(.*)/)[2]",
"onError": "set-to-blank"
},
{
"op": "core/column-addition",
"description": "Create column Forename at index 1 based on column Column 1 using expression grel:value.match(/([^\\s]*)\\s([A-Z]).\\s?(.*)/)[0]",
"engineConfig": {
"mode": "row-based",
"facets": []
},
"newColumnName": "Forename",
"columnInsertIndex": 1,
"baseColumnName": "Column 1",
"expression": "grel:value.match(/([^\\s]*)\\s([A-Z]).\\s?(.*)/)[0]",
"onError": "set-to-blank"
},
{
"op": "core/column-addition",
"description": "Create column Initial at index 1 based on column Column 1 using expression grel:value.match(/([^\\s]*)\\s([A-Z]).\\s?(.*)/)[1]",
"engineConfig": {
"mode": "row-based",
"facets": []
},
"newColumnName": "Initial",
"columnInsertIndex": 1,
"baseColumnName": "Column 1",
"expression": "grel:value.match(/([^\\s]*)\\s([A-Z]).\\s?(.*)/)[1]",
"onError": "set-to-blank"
},
{
"op": "core/column-removal",
"description": "Remove column Column 1",
"columnName": "Column 1"
},
{
"op": "core/column-move",
"description": "Move column Forename to position 0",
"columnName": "Forename",
"index": 0
}
]