This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help

Next Topic

Book Contents

Book Index

Making the same change to many cases in the raw data file

Cases can be changed individually. Very occasionally, you may need to change a number of questionnaires in exactly the same way. You can do this using Bulk Changes option. This makes changes directly to the raw data file in which the case data is stored and should only be done with extreme care. It is normally better to use derived variables to manipulate the data without changing the data source. An example use of the bulk change facility is to change all Don't know answers to grid questions to No Reply, in order to present reports. Instructions on performing this change on question 6.a of the Crocodile survey supplied with Snap are given below.

Before you make the changes, back up your survey.

Find where the data to be changed is stored in the raw data file,

  1. Open the cloned copy of your survey
  2. Click Variables window button to open the Variables window and scroll down to display the one you are interested (Q6.a in this example).

  3. Note the source position for the variable you wish to change.
  4. Double-click it to open the Variable details dialog.)

  5. Note the code for the response you wish to change.

    For Q6.a in the crocodile survey, the value for a Don't know response is 5, and the source position in the raw data file is 244.

  6. Click Data Entry window button to display the survey Data Window.
  7. Click Play/run button on the Data window toolbar to display the Bulk Changes dialog box.

    The Filter field is used to select the data codes to be changed or to exclude the ones that you do not want to change. The Change field is used to enter the new data for the selected codes. The new data must be surrounded by quotation marks.

  8. Set Filter to Q6.a=5 to search for all values of five in Q6.a. Set Change to raw 224 as “ ” to change the values in position 224 in the raw data file to a space character.

    raw tells Snap to make the changes in the raw data file. (You could also use * 148 as “ ”.)

  9. Click [OK] to make the changes.

    If you need to change a variable with a longer source, you would use the full description in the Source column.

    E.g., for Q4 shown above, use *(43 to 57) as " ".