-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoperator.json
36 lines (36 loc) · 1014 Bytes
/
operator.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
{
"name": "Ratio",
"description": "Calculates the number of times a data point will divide into a specified X.",
"tags": [
"arithmetic"
],
"authors": [
"tercen"
],
"urls": [
"https://github.com/tercen/ratio_operator"
],
"properties": [
{
"kind": "DoubleProperty",
"name": "Dividend Column ID",
"defaultValue": 0,
"values": {},
"description": "Column ID to be used in the numerator (if 0, columns are ignored and the ratio is computed by diviving Y values by X values)."
},
{
"kind": "DoubleProperty",
"name": "Divisor Column ID",
"defaultValue": 0,
"values": {},
"description": "Column ID to be used in the denominator (if 0, columns are ignored and the ratio is computed by diviving Y values by X values)."
},
{
"kind": "EnumeratedProperty",
"name": "Method",
"defaultValue": "y / x",
"values": ["y / x", "y / (x + y)"],
"description": "Which ratio to compute."
}
]
}