Skip to main content

SFHub Variables (Studio only)

SFHub variables are containers for storing data values. Variables are defined using the Set SFCodeBlock and therefore, can only be used inside Studio Analytic. In this example $a, $$b and $c are variables defined through the dedicated SET code block.

Examples

$a = 100+ 1 / 2

$$b = density * 10.4

$c = $a * 2

Results will be:

$a stores the value 100.5

$$b stores the value of the attribute Density (attribute name containing [density]) multiplied by 10.4

$c stores the value 201

The following sectionstopics provide more details regarding SFHub variables.