Version handling in Metadata Model to Quantum
Questionnaire definitions usually contain versions, which record any changes to the content of the questionnaire. Typically, when the questionnaire definition changes (for example, a variable or category is added or deleted) a new version is created and when the changes are complete, the version is locked.
When you open a questionnaire definition (.mdd) or other type of metadata file or database in Metadata Model to Quantum, the version or versions that you select controls the variables and categories that you will see in Metadata Model to Quantum. You cannot see variables and categories that existed in other versions and Metadata Model to Quantum does not allocate card, column, and punch definitions to them. Similarly, when you export a Quantum specification or a data map file, the Quantum specification and the data map includes the variables and categories in the only selected versions. However, any card, column, and punch codes allocated to the variables and categories that exist in any other versions are retained in the questionnaire definition and cannot be reused unless you choose the option to overwrite all existing allocations.
When you open an .
mdd or other type of metadata file or database that contains more than one version, Metadata Model to Quantum displays the Metadata Versions dialog (see
Version Selection). Choose the version or versions on which you want to work. After you have started working, you can view a list of all of the available versions and change the selection by clicking
Tools >
Select Versions.
When you export case data to a Quantum-format ASCII file, you might want to export all of the case data at the same time regardless of which version of the questionnaire definition was used to collect it. However, if variables or categories have been added or deleted between any of the versions used for collection and the version used for the export, validity errors that might cause the export to fail. The solution to this problem is that when you export the data, you select all of the versions of the metadata that were used to collect it. Alternatively you can create a special merged version of the questionnaire definition for use for the export. You can do this using the
Metadata Model Version Utility.
For best results, use the following steps:
1 At the start of your project, create the questionnaire definition in your authoring tool (the Build activity in UNICOM Intelligence Interviewer - Server Admin, the UNICOM Intelligence Professional interview option, or
UNICOM Intelligence WordCapture) as usual.
2 When the questionnaire definition is ready for collecting data, open it in Metadata Model to Quantum, and then do the following:
▪allocate card, column, and punch codes
▪export the Quantum specification.
3 When you add questions or categories to the questionnaire definition, go into Metadata Model to Quantum and allocate card, column, and punch codes to the new variables and categories. If necessary, you can use the Metadata Model to Quantum log file to help to edit the Quantum specification that you exported previously.
4 To export case data collected using different versions to a Quantum-format ASCII file, either select all of those versions for the export or use the MDM Version Utility to create a merged version of all of the versions for which you want to export case data. Then use this merged version when you export the case data.
See also