Skip to content

Variable Types

Steve edited this page Aug 7, 2018 · 3 revisions

This page provides a list of variable types supported within network canvas, along with the input types that they can be mapped to. This is work in progress. Please add/update as you develop new features or notice something is missing.

text

A simple string value.

Valid input components:

  • <TextInput />

number

A numerical value, of any kind.

Valid input components:

  • <NumberInput />
  • <NumberCounter /> (not implemented)
  • <NumberWheel /> (not implemented)

datetime

A datetime value used for storing any kind of

Valid input components:

  • <Date /> (not implemented)

boolean

A two-option variable used to model true/false or dichotomous values.

Valid input components:

  • <Checkbox />
  • <Toggle />
  • <ToggleButton />

ordinal

An ordered scale of values, where variable values will comprise a single member of the scale.

Valid input components:

  • <RadioGroup />
  • <RangeSlider /> (not implemented)

categorical

An unordered group of options, where values can comprise any number of options.

Valid input components:

  • <CheckboxGroup />
  • <ToggleGroup /> (not implemented?)
  • <ToggleButtonGroup />

layout

Special variable type for storing X/Y coordinates on the sociogram screen.

Valid input components:

  • Not used with input component

location

Special variable type for describing geospatial location in the form of latitude/longitude

Valid input components:

  • Not used with input component