Skip to content

RANDOM

Description

This algorithm assesses the value of all the raw data for the associated data point and chooses the value randomly.


Config Location

Config is provided within consolidationAlgorithm element, within the dataPoint element in a schema.


Supported Data Types

  • Integer
  • Double
  • Decimal
  • String
  • Json

Config Requirements

Config ({}) options are not required.


Config Example

1
2
3
<dataPoint name="NAME" dataType="STRING">
    <consolidationAlgorithm name="AGG_RANDOM" entity="RANDOM"/>
</dataPoint>

Example Result

  • the sourced values of data point "NAME" are: "Tomas", "Suzie", "Veronica", "Arnold Schwarzenegger"
  • the algorithm will select a value randomly. In this case, it randomly selects: "Suzie"

Config Parameters

not applicable


Common Mistakes

not applicable