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

numeric-range

  • Dark
    Light
  • PDF

Article summary

The numeric-range parser will load data from a range of columns in a source data table and create numeric variables within a collection.

It inherits attributes and behaviors from its parent: parser - numeric. However, it does not use the column attribute, because the columns are defined by the range attributes start and end.

The numeric variables produced will be named after the column headers within the range.

Attribute - start

The start attribute is optional - it will default to the 0th column index.

{
  "parser_type": "numeric-range", 
  
  // The start attribute value is an integer
  // indicating which column begins the range (inclusive).
  //
  // Note - column indexes start at 0 (first column)
  //
  "start": 1,
  
  "collection": "collection_name"
}

Attribute - end

The end attribute is optional - it will default to the last column index.

{
  "parser_type": "numeric-range", 
  "start": 1,
  
  // The end attribute value is an integer
  // indicating which column ends the range (inclusive).
  //
  "end": 10,
  
  "collection": "collection_name"
}

Was this article helpful?