Skip to content

Add a new attribute

Add an attribute to a dataset, worked out by a formula from the attributes it already has.

Last reviewed: July 2023

A new attribute is worked out by a formula from the attributes a dataset already has, for example Weight divided by Height. Tuva calculates it for every case. Basic and Premium teachers can both add attributes.

The examples below use a dataset with Name, Height and Weight attributes.

  1. Open your dataset in Tuva Tools. At the bottom of the attribute list in the case card, click Add Attribute. If the dataset has many attributes, scroll down the case card to reach it.

    The case card with Name, Height and Weight, and the Add Attribute button below them highlighted

  2. The Add New Attribute Card opens in place of the case card. Replace “New Attribute” in the Name box with a name for your attribute.

    The Add New Attribute Card with a Name box, an empty Formula box, a Keypad button, and Save and Cancel

  3. Click Keypad to build the formula. On the Attributes tab, click an attribute to add it to the Formula box. Click the keys on the right for numbers and operators such as ÷. For example, click Weight, then ÷, then Height to get Weight/Height.

    The Keypad's Attributes tab, with the Weight, divide and Height keys highlighted and Weight/Height in the Formula box

    The Operations, Functions and Advanced tabs hold functions such as round, mean and if. You can also type the formula into the Formula box. The formula editor reference has worked examples.

    If the formula can’t be worked out, “Syntax error: Please enter a valid expression.” appears under the box. Click CLEAR to empty the box and start again.

  4. Click Keypad again to close the keypad, then click Save. The new attribute appears at the bottom of the case card with its value for each case. Here, Alice’s 45 ÷ 150 is 0.3.

    The case card with the new attribute "Weight per cm" and the value 0.3 below Weight

    You can now plot the new attribute like any other.

To leave without adding anything, click Cancel.

Tuva keeps the new attribute only if you save a plot. If you close or reload the page first, the attribute is gone. Saving a plot does not change the dataset you started from.

  1. Click Save Plot at the bottom of the screen.

  2. Type a Plot Title. Alt Text and Notes are optional. Click Save as New.

    The Save Plot pop-up with Plot Title, Alt Text and Notes boxes and a Save as New button

The plot opens with your new attribute, and the bottom bar now shows Update Plot. In My Datasets the plot is listed under its dataset, with the type Plot. Open it from there to keep working with the attribute.

My Datasets with the saved plot listed under its dataset, type Plot

Was this page helpful?