A data file in SPSS contains the meta data and the case data.
Below and example of how the meta data (Variable view) could look like:
And an example of how the data view could look like:
The first 3 columns in this example contain RespondentID, ResponseDate and Weight. As decsribed in the basics, these are mandatory variables.
We have 3 options:
• If you have them in the file, Dapresy will recognize them
• If you them, but named differently, you can assign those variables to be the right ones during the data import (in the meta data transformation)
• If you don't have them, you can create those as new variables. RespondentID will be a random number, a date can be chosen and weight will be set as 1
Note: the order of the variables is not important
Variable codes and labels
As you can see in the example of the meta data, all questions have a label and if relevant, all answer have value labels (for example Gender). The names/codes are mandatory to be able to load the file. A name/code should always start with a letter. The variable name/code cannot exceed 50 characters. In case you have missing labels, Dapresy will allow you to import, but it can be confusing in Dapresy.
Here you can find the question types that are supported by Dapresy.
In the example file of the data above you see in the 4rth column an example of a Single response question. Here you can see the question contains answer codes. Based on this Dapresy can define if this question is a single response question.
Multiple response: in this example the 3 variables with an underscore are the multiples. They can be merged into one multiple question in Dapresy with just 1 variable name and 3 answers. In this case the system will recognize it because of the underscore, but if you have another separator which is unique, we can set that as the separator during the import.
The last column in this example is a string/open ended question. Note: those questions can be uploaded, but not reported, so there is no need to include this in your file.