Creating Universes

A universe refers to the population against which the variable is being applied. Universe can also be left as blank which would then apply to everyone.

To create universes, you will need to write a bit of json.

The structure of this is:

{
"Variable Name": "Filter value",
"Another variable__in": ["array", "of", "values"]
}

See below for an example of youth age range universe.

{
  "Age Group__in": [
    "15-19",
    "20-24",
    "25-29",
    "30-35"
  ]
}

This universe when applied to a variable, would include all people within the ages of 15 to 35.

A few notes:

  • It doesn't need to be an array - a single value will also work (e.g. {"Gender": "Female"}

  • It is case sensitive to remember to match the case in the file

  • You can have multiple filters

Last updated