Through Analysis, it is possible to insert any calculation and manage your data from TagoIO in any way you want. We provide certain services, such as SMS and email, but you are free to use any third-party packages that you need.

To set up an Analysis, you first need an Analysis token. That can be retrieved from the admin analysis section.

Syntax
new Analysis(/function/, /analysis_token/)

Arguments

Field name
Type
Description
function
function
A function to be executed when the Analysis runs.
analysis_token
string
[optional]
Analysis token. Only needed if the script will run remotely.