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

Next Topic

Book Contents

Book Index

Importing data from another Snap survey with different variables or codes

This method can be used to merge surveys

  1. Archive the survey you want to add data to, in case of accidents.
  2. Open the survey that you want to add data to.
  3. Click Delete button on the Snap toolbar to open the Database Linkage dialog.

  4. Click [New...] to create a new database link. The Database Linkage Wizard dialog will be displayed.
  5. Select Import from Survey.

    DL: section showing import from survey

  6. Click [Next>].
  7. Select a survey to import from. Snap lists all the surveys available in the default directory. If the survey you require is not in this directory use the [Browse...] button to find the appropriate directory.
  8. Click [Next>] when you have highlighted the survey you require.

    Snap displays another dialog.

  9. Select the type of Import/Export Options to use.

    DL Import/export for Snap surveys section

    If you select Append all Cases you do not need to define a link variable.

  10. If you select any of the other import types, select the link variable in your current survey

    DL: link variable for Snap surveys section

  11. Select the variable containing the matching data in the survey you are importing from.

    The link variables must contain a value that is unique for each case, and which match between the two surveys. For example they could both be 'Customer ID' variables. (Link variables are also known as database keys)

  12. Click [Next] to move to a dialog showing a list of variables in survey to import from on the left, with variables in the current survey on the right.
  13. Map the variables between the surveys. Snap works out the mapping between the variables where possible.

    To change a mapping, select a row in the right hand column, and click Scroll down arrow to display a list of available variables in the import survey. Select a variable to load data from, or select a blank to load nothing.

    If you match variables with multiple responses, Snap displays the possible responses below the variable list. Match the responses in the same way as you match the variables

    The example shows an extra code, wine/beer, is an extra code in the survey that you are importing data from. You can assign wine/beer to the Other code.

    You could also create a new code in the current survey for wine/beer by right clicking the row and selecting New code from the context menu.

    You can create a new variable to match an existing variable in the same way. Right-click in the right hand row, and select New variable from the context menu. If you created a variable, you can modify and delete it.

  14. Click [Next] to display a summary of what the link does.
  15. Check the details are correct, and enter a Name for the database link.
  16. Click [Finish]. Snap shows the Database Linkage dialog including the new link.

    If you wish to alter any part of the link, click [Modify]. To delete a link, click [Delete]. To make a copy of the link, click [Clone],and then modify the new link as required.

  17. Select the link and click [Run] to import the data. Snap displays a brief report. Click [OK] to close it.

merging merge

See Also

Exporting data to another Snap survey with different variables or codes