Data Views module

 

Step 2 - Naming the data view tables

The second step in creating data views is to create the names of the tables. MACRO creates default table names but you can change these if you wish.

Before you can do this, you must have specified the structure of the tables.

Creating the names of the tables

Click the Create Data View Names button.

MACRO will generate default names for all the tables. They are displayed in the Data View Table Names display area. Click for an example. Any existing tables will be replaced.

The Date Last Run display next to the Create View Names button will also be filled in with the current date.

Note: Table names cannot contain more than 28 characters. MACRO generates the table names in the format prefix_study name_eForm code (followed by _groupcode if applicable), and names are truncated after the 28th character. To ensure that the table names are easy to read, we recommend that you make your form codes as short as possible.

Editing the table names

It is possible to change individual table names once they have been created and are displayed in the Data View Table Names display area. To do this:

  1. Select a name from the list and click Edit.

  2. Make your changes and click Change to accept the change, or click Cancel to abort.

Remember that table names must not be longer than 28 characters, and you won't be able to specify the name of a table which already exists in the MACRO database.

Renaming the tables

Once you have created the table names, you will need to repeat the procedure if any of the following changes are made to the study definition:

 The following changes will not require you to recreate the table names:

What happens next?

Once you have named the tables, you are ready to create the tables and to populate them with the response data that has already been collected in the MACRO database.

 

 

Related Topics