This page is still under construction.
The process can be less manual by using the .txt files described below:
- qvmapping.txt Mapping file that links questions and variables (listing all variables and derived variables).
- dv.txt Mapping file that links derived variables to variables.
- tqlinking.txt Mapping file that links topics and questions
- tvlinking.txt Mapping file that links topics and variables
The following steps can be used to upload mappings via the .txt files.
1) Import the sledgehammer xml
Admin > Import. Under Upload DDI Dataset files, browse and Import Dataset. This might take a while to appear in the Datasets list. Note that the prefix used when running Sledgehammer must be identical to the instrument prefix. This must be checked carefully as otherwise this will mean mappings will have to be redone.
2) Import the variable mappings
Admin > Datasets > search for the loaded dataset (prefix or dataset name) > Import Mappings. Both the tvlinking.txt and the dv.txt can be imported. If uploading more mapping files, these will not replace those already mapped, but will add any additional mappings.
3) Import the question mappings
Admin > Instruments > search for the questionnaire prefix > Import Mappings. Both the qvmapping.txt and tqlinking.txt can be imported. If uploading more mapping files, these will not replace those already mapped, but will add any additional mappings.
4) Check the mappings in both the dataset and instrument view.
Admin > Datasets > search and select the Name of the dataset. Any mapping conflicts will appear in red.
The Q-V mappings can also be checked through Admin > Instruments > search and select the Prefix of the instrument. This will gives the questionnaire view with the variable names listed against them
Note: Variables can be mapped to grid references in the qvmapping.txt file, but currently these will only be displayed as mapped to the gird as a whole.