numeric-bins-percentile
  • 27 Jul 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

numeric-bins-percentile

  • Dark
    Light
  • PDF

Article summary

The numeric-bins-percentile parser will load data from a column in a source data table and map values to other values before producing categorical variables within a collection.

The numeric-bins-percentile parser will process numeric values from a source column and separate entities into percentile bins, which become the categorical variable names.

{
  "parser_type": "numeric-bins",
  "table_alias": "tata",
  "column": "ccc1",
  "bins": {
    "Less than 50th percentile": "<50",
    "From 30th to 50th percentile": [
      ">=30",
      "<=50"
    ]
    ...
  },
  "collection": "collection_name"
}


bins

usage: required
The bins attribute contains an object assigning output variable names to arrays of codified strings which define data slices (categorical variables).

The codified string syntax is pretty simple - you just specify the slicing operator followed by the number.

Operators include:

  • =
  • !=
  • <
  • <=
  • >
  • >=

  • Was this article helpful?

    What's Next