Adding Data to Your Project#

Now that we have our tree, we can add data. Most often data is added to the lowest level Containers in our project because these are the things we actually run experiments on. Luckily our researchers just finished up with their experiments and have provided you with the download link.

Click here to download the experimental results.

After downloading the experimetnal results, unzip the data and remember it’s location.

In Thot, any data file we want to analyze – CSV, text, images, binary, anything – is called an Asset. Similar to Containers, an Asset is a folder with an _asset.json file in it.

We want to add our Assets to the batches. Let’s do the first manually, then we’ll use some more convenient methods.

Go to the File Tree view and select Batch 1 of Recipe A. Click the Add Asset button. This opens the Asset Properties dialog, which should look quite familiar.

Asset Properties dialog.

Fig. 24 Asset Properties dialog.#

Give the Asset the following properties, and select the recipe_a-batch_1.csv file.

Name:

Noise Data

Type:

noise-data

You’ll notice this moves the data file to a the newly created Asset folder inside the Batch 1 folder. This is because we had the Move asset file option selected.

Do the same for Batch 2.

Let’s add the Recipe B data a bit differently. Switch to the Project view and refresh the project. Let’s preview what Assets we already have by clicking on the dropdown menu in the upper left of the workspace where it says -None- and select Assets.

Project view Assets preview.

Fig. 25 Project view Assets preview.#

Now open a file explorer and navigate to the data folder. Drag and drop the data for Recipe B on to the respective batches. You’ll see the Assets appear in the preview as you add them, but the names don’t look very pretty. Let’s edit that by double clicking on them. This opens the familiar Asset Properties dialog, where we can set the Name and Type properties with the same values as before.

Project with all the Assets added.

Fig. 26 Project with all the Assets added.#

Wonderful! We’ve now created our project structure and added our data. Next we’ll look at how to analyze the data using Thot Scripts.

Click here to download this project step.