Grouping variables

Grouping variables

Grouping variables

It is expected that most devices will send more than one variable at a certain time. And when visualizing the data, the user may want to see them synchronized at each sample period.

For example, a device sends a GPS location, speed and voltage variables at certain frequency. If they are acquired and sent with exactly the same time stamp the user can visualize the 3 variables together at each time sample. However, if there is any delay between them (time stamps of the three variables not matching exactly), the system will not be able to group them correctly ‘by time’.

That is when the field ‘group’ in the JSON comes to help. A batch of acquired variables can be synced by adding the same ‘group’ in their samples. For example, the first acquisition could be: GPS location, speed, and voltage variables all with group = 0001, the second acquisition would have group = 0002, and so on. When visualizing these batches of data combined in a Table or Map for example, just select the option ‘Group by group’. 

To learn how to add the ‘group’ in the JSON, check out the API documentation.

    • Related Articles

    • Grouping Dashboards

      You can group related dashboards using dashboard tags. To do so, go to “Dashboard”, click on the gear icon to edit it, then on the section “Tags” create a new tag. After that, on the section “Group dashboards using Tags” select the grouping tag. To ...
    • Environment Variables

      Environment Variable is a very useful resource to send variables values to the context of your script. You can, for example, add tokens of accounts and devices to be used later in the script when it runs. The Analysis will get these variables as ...
    • Filtered Variables

      Filtered variables is a type of field in the Input Form widget. It enables you to select a single value from a list that can change dynamically based on the values of other fields. For this type of field to work, you need to link it to another field. ...
    • Payload Parser - Context & global variables

      If you are going to create your own parser, you need to understand how context works. When you start writing your own Payload Parser, you can use certain globals variables in your code. Think of these global variables as variables that you can access ...
    • Filtering Out Variables with Parser Code

      When your device sends data from a device to TagoIO, a parser code may be added to your device (located in the 'Payload Parser' tab) to extract and create the variables in the buckets using TagoIO format.  If you want to save space in your register ...
        Take a look at our updated roadmap here!
          What would you like to see on TagoIO?

            Future and past Webinars