Creating Analysis

Creating Analysis

Creating your own analysis is easy. First, click on Analysis on the sidebar, then click the + Add Analysis button in the upper right of the analysis main screen. Just write a name and you’re ready to go!

1. Name

What you usually use to identify your analysis. You can use whitespaces, numbers and any other character for this field. 

2. Runtime

This is the programming language used in the scripts of your analysis. Currently we support Python and Node.js if you run your script on TagoIO, if you choose to run your script in your own server you may use any language you desire.

You are not able to change the runtime of your analysis once it's created.

3. Run this script from

This field identifies where your script will be running. By default TagoIO offers to run your script on our servers.

When changing between External mode and TagoIO mode, it's important to note that the Analysis Token will be reset and new token will be generated.

If you select to run your code in our servers, keep in mind that TagoIO only supports Node.js and Python. However, you can use any programming language if you select the external option on the Run this script from field. In this case the code should be running in your computer or server.

4. Code example

You can select a code example when you are creating your analysis to start off with a real world example. This is highly recommended if you are a beginner, as they give you more insight and a better view on the functions and the scopes of the script.

You can only select one of these code examples if you are running your script on TagoIO.

Other fields

Once your press the button to create your analysis you will be redirected to a new page. There are a couple more fields there that are worth mentioning.

5. Time interval

You can trigger your analysis script manually, but you can also define a time interval to automatically trigger your analysis. In this field you will find a couple of predefined time options, but you can also set your own custom time interval by selecting the option Custom.

6. Analysis Token

This field is only used if you are running your analysis as external. If you want more information on how the token works, check out the article Running Analysis as External using Node.JS.

    • Related Articles

    • Running Analysis as External using Node.JS

      Analysis is what allows you to create powerful applications on TagoIO. When creating analysis you have to choose between running it at TagoIO or External, which means that you will run on your machine. You can choose to run the analysis on an ...
    • Distributing analysis

      You can create a copy of your analysis and send a link to anyone so they can add a copy to their account through a customized install page. They will be able to edit the analysis as they wish. Others will be able to edit the analysis that they ...
    • Analysis Overview

      Analysis is a powerful feature that experts and developers can use to implement scripts to analyze and manipulate data from any device in real-time. The scripts that run at TagoIO are programmed with the Node.js TagoIO's SDK. Get more instructions on ...
    • Analysis Service

      Every time the Analysis runs one script, its runtime duration is counted against the limit in that specific Profile (increment of 1 second). This limit defines the total available runtime your Analyses can have to run inside TagoIO. For example: if ...
    • Creating Keypad Widgets

      This article will demonstrate how to create a Keypad Widget using the TagoIO Node.js SDK. In order for you to create keypad widgets, this is the structure that you will need to send to the account.dashboards.widgets.create method. {   "analysis_run": ...