Skip to main content

Variable

Represents a Variable.

idstring

Identifier of the Variable

Example: D1
labelstring

Label of the Variable

Example: HOMBRE
typestring

Type Variable

Example: VAR
subtypestring

Subtype Variable

Example: MULTIPLE
categories object[]

List of categories in this Variable

  • Array [
  • idstring

    Id category

    Example: SEXO
    idsstring[]

    Identifiers of the Category

    Example: [D1,D2]
    labelstring

    Human-readable label

    Example: Hombre
    typestring

    Type Category

    Example: VAR
    subtypestring

    Subtype Category

    Example: SINGLE
    selectedboolean

    Whether this Variable is the selected one in its axis. Used to pick the slice in the PLANES dimension. Only one Variable per axis can be marked as selected; sending more than one in the same axis results in a 400 Bad Request.

  • ]
  • filterTglstring

    Variable in format TGL.

    selectedboolean

    Whether this Variable is the selected one in its axis. Used to pick the slice in the PLANES dimension. Only one Variable per axis can be marked as selected; sending more than one in the same axis results in a 400 Bad Request.

    Variable
    {
    "id": "D1",
    "label": "HOMBRE",
    "type": "VAR",
    "subtype": "MULTIPLE",
    "categories": [
    {
    "id": "Variable1",
    "label": "Label Variable 1"
    },
    {
    "id": "Variable2",
    "label": "Label Variable 2"
    }
    ],
    "filterTgl": "string",
    "selected": true
    }