|
|
@@ -69,6 +69,11 @@ function (_) {
|
|
|
category: categories.Combine,
|
|
|
});
|
|
|
|
|
|
+ addFuncDef({
|
|
|
+ name: 'rangeOfSeries',
|
|
|
+ category: categories.Combine
|
|
|
+ });
|
|
|
+
|
|
|
addFuncDef({
|
|
|
name: 'percentileOfSeries',
|
|
|
category: categories.Combine,
|
|
|
@@ -189,6 +194,11 @@ function (_) {
|
|
|
category: categories.Special
|
|
|
});
|
|
|
|
|
|
+ addFuncDef({
|
|
|
+ name: 'sortByTotal',
|
|
|
+ category: categories.Special
|
|
|
+ });
|
|
|
+
|
|
|
addFuncDef({
|
|
|
name: 'aliasByMetric',
|
|
|
category: categories.Special,
|
|
|
@@ -421,6 +431,34 @@ function (_) {
|
|
|
defaultParams: [5]
|
|
|
});
|
|
|
|
|
|
+ addFuncDef({
|
|
|
+ name: 'removeAbovePercentile',
|
|
|
+ category: categories.Filter,
|
|
|
+ params: [ { name: "n", type: "int" } ],
|
|
|
+ defaultParams: [5]
|
|
|
+ });
|
|
|
+
|
|
|
+ addFuncDef({
|
|
|
+ name: 'removeAboveValue',
|
|
|
+ category: categories.Filter,
|
|
|
+ params: [ { name: "n", type: "int" } ],
|
|
|
+ defaultParams: [5]
|
|
|
+ });
|
|
|
+
|
|
|
+ addFuncDef({
|
|
|
+ name: 'removeBelowPercentile',
|
|
|
+ category: categories.Filter,
|
|
|
+ params: [ { name: "n", type: "int" } ],
|
|
|
+ defaultParams: [5]
|
|
|
+ });
|
|
|
+
|
|
|
+ addFuncDef({
|
|
|
+ name: 'removeBelowValue',
|
|
|
+ category: categories.Filter,
|
|
|
+ params: [ { name: "n", type: "int" } ],
|
|
|
+ defaultParams: [5]
|
|
|
+ });
|
|
|
+
|
|
|
_.each(categories, function(funcList, catName) {
|
|
|
categories[catName] = _.sortBy(funcList, 'name');
|
|
|
});
|