-
Notifications
You must be signed in to change notification settings - Fork 0
/
reshape.yaml
44 lines (44 loc) · 1.06 KB
/
reshape.yaml
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
id_name: reshape
name: Reshape
category: Clean
description: Convert the table between wide and long formats.
icon: reshape
help_url: modules/clean/reshape
parameters:
- id_name: operation
name: ""
type: menu
options:
- { value: widetolong, label: Wide to long }
- { value: longtowide, label: Long to wide }
- { value: transpose, label: Transpose }
default: widetolong
- id_name: key_colnames
name: Row columns
type: multicolumn
visible_if:
id_name: operation
value: [ longtowide, widetolong ]
- id_name: wtl_varcolname
name: Variable-column name
# help: This column will contain column names.
type: string
default: Variable
visible_if:
id_name: operation
value: [ widetolong ]
- id_name: wtl_valcolname
name: Value-column name
type: string
default: Value
visible_if:
id_name: operation
value: [ widetolong ]
- id_name: ltw_varcolname
type: column
column_types: [ text ]
name: Variable column
# help: Each value in this column will become a column.
visible_if:
id_name: operation
value: [ longtowide ]