Data Model > UNICOM Intelligence Data Model accessories > Metadata Model to Quantum > Getting started > Metadata Model to Quantum window
 
Metadata Model to Quantum window
The Metadata Model to Quantum window resembles a spreadsheet. Each variable (VariableInstance object) in the questionnaire definition is displayed on a separate row. Variables store the responses to the questions in the questionnaire. Generally each question has a corresponding variable. In fact, a question and its corresponding variable are one entity within the questionnaire definition, and so share the same name. However, some questions have more than one associated variable. For example, the responses to each subquestion in a grid question are stored in a separate variable and the responses entered in each cell of a numeric grid question are stored in a separate numeric variable. And a categorical question with an Other Specify category generally has two or more helper variables, one for the open-ended responses, and one for the coded responses. (In the example above, the school question is a categorical question that has an Other Specify category, for which the school.Other variable stores the open-ended responses and school.Other.Codes stores the coded responses.) Sometimes there is also a third helper variable that is used to store the name of the file that contains an image of the scanned response. These variables are called source file variables and typically have the name SourceFile.
Variables appear dimmed when they are to be excluded from the Quantum specification. You can define which variables are to be included and which are to be excluded in the Quantum Variable Selection dialog box. For more information, see Quantum Variable Selection. When you open a questionnaire definition for the first time in Metadata Model to Quantum, the Quantum variable selection rules are used to define which variables are to be excluded. For more information, see Quantum Variable Selection Rules.
By default the System variables are shown at the end of the list. However, if you select the option to allocate system variables at the beginning, they will be shown first. Which system variables are used to store data depends on how you are collecting the data. For example, when you collect data using UNICOM Intelligence Interviewer, the system variables automatically record various details about the interview, such as its start and end time. But when you collect data using UNICOM Intelligence Interviewer - Paper, generally the only system variable that is used is the serial number. Note that the serial number system variable (Respondent.Serial or any other variable selected as the serial variable in the Select Serial Variable dialog box) is not shown because it is recorded in the serialfield on every card. For more information, see Card and Column preferences.
The top of the window (between the toolbar and the list of variables) displays the system settings in the document, including the columns assigned to the serial and card number fields, the card length, the punch mask, and the version or version selection you are using. Note that this information is updated only when you run Allocate Cols and Punches.
Columns in the Metadata Model to Quantum window
Name
An abbreviated version of the full name of the variable.
Label
The variable's description. Typically variables have several descriptions for use in different environments or contexts. You can choose the context and language for the labels on the General tab in the Preferences dialog box. For more information, see General preferences.
Categories
The number of categories in a categorical variable. For text and numeric variables, this is always zero.
Type
The UNICOM Intelligence Data Model variable type. This can be:
Boolean. A special type of integer variable that can contain values of True or False.
Categorical. A variable that has a limited number of distinct values or categories: for example, a variable that is based on a question that has a predefined set of answers. Categorical variables are either single response or multiple response.
Date. A variable that contains date and time data.
Double. A variable that holds one real (decimal) value for each case: for example, the response from a question that asks respondents for their estimate of the price of a drink.
Long. A numeric variable that holds an integer value for each case: for example the response to a question that asks respondents for their exact age or how many cars they own.
Text. A variable that contains data that is text: for example, names and addresses or responses to open-ended questions.
Starting col
This generally shows the combined card and column number of the first column used to store data for this variable when it is exported to Quantum. For example, 134 represents column 34 on card 1, and 211 represents column 11 on card 2. However, if you are using one card of unlimited length, this shows the column number.
Column count
The total number of columns allocated to this variable.
Error flag
If an error has been detected for this variable, this column displays one or more error codes and the column heading shows a question mark (?). However, note that Metadata Model to Quantum checks the definitions only when you run the Check Cols and Punches (see Checking the card, column, and punch definitions, Export Quantum Specification, and Export Data Map ( see Using the Data Map) commands. This means that Metadata Model to Quantum does not display an error if you have manually allocated any invalid or overlapping card, column, and punch definitions since you last ran one of these commands. For more information, see Metadata Model to Quantum error codes.
Note When there are errors, you can click on the Error Flag column heading to get help on the error codes.
Alias
This is the eight-character name that will be used for the axis name in the Quantum specification if you choose the option to use short axis names. For more information, see Quantum Specification preferences.
Full name
The variable's full name.
You can select one or more variables and right-click to open the shortcut menu. This contains handy commands that enable you to change and clear the card allocation of the selected variables, and to reallocate columns to the selected variables from a specified starting column. For more information, see Metadata Model to Quantum shortcut menu.
See also
Metadata Model to Quantum toolbar
Metadata Model to Quantum
Metadata Model to Quantum shortcut menu
Starting Metadata Model to Quantum
Opening a Questionnaire Definition File in Metadata Model to Quantum
Defining card, column, and punch code specifications
Export Quantum Specification
Version handling in Metadata Model to Quantum
Getting started