{"id":4813,"date":"2012-10-23T14:05:11","date_gmt":"2012-10-23T14:05:11","guid":{"rendered":"https:\/\/www.snapsurveys.com\/support-snap11\/?page_id=4813"},"modified":"2019-01-10T15:06:43","modified_gmt":"2019-01-10T15:06:43","slug":"merging-similar-surveys","status":"publish","type":"page","link":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/merging-similar-surveys\/","title":{"rendered":"Merging Data"},"content":{"rendered":"<p>This worksheet explains how to use the <strong>Database Link Wizard<\/strong> to import data from another Snap survey even where the two surveys are not identical.<br \/>\n<a href=\"https:\/\/www.snapsurveys.com\/help\/#13139\" target=\"_blank\" rel=\"noopener noreferrer\">For details of importing\/exporting data to a database package click here<\/a>.<\/p>\n<h3>Importing\/exporting data to another Snap survey<\/h3>\n<p>Snap can import and export data, variables and codes between Snap surveys even if the variables and codes are not identical.<br \/>\nThe easiest way to do this is using a database link to import or export the data.<br \/>\nThis method can be used to merge surveys:<\/p>\n<ol>\n<li><a href=\"https:\/\/www.snapsurveys.com\/help\/index.htm#12670\" target=\"_blank\" rel=\"noopener noreferrer\">Archive the survey<\/a> you want to add data to, in case of accidents.<\/li>\n<li>Open the survey that you want to add data to.<\/li>\n<li>Click <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-25177\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/database-linkage-button.gif\" alt=\"Database linkage button\" width=\"29\" height=\"27\" \/> on the Snap toolbar to open the <strong>Database Linkage<\/strong> dialog.\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-25184\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/1Database-Links.png\" alt=\"1Database Links\" width=\"607\" height=\"290\" srcset=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/1Database-Links.png 607w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/1Database-Links-150x72.png 150w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/1Database-Links-500x239.png 500w\" sizes=\"auto, (max-width: 607px) 100vw, 607px\" \/><\/div>\n<\/li>\n<li>Click <strong>[New&#8230;]<\/strong> to create a new database link. The <strong>Database Linkage Wizard<\/strong> dialog will be displayed.<\/li>\n<li>Select <strong>Import from Survey<\/strong>.\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-25185\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/2Linkage-type.png\" alt=\"2Linkage type\" width=\"243\" height=\"168\" srcset=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/2Linkage-type.png 243w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/2Linkage-type-150x104.png 150w\" sizes=\"auto, (max-width: 243px) 100vw, 243px\" \/><\/div>\n<\/li>\n<li>Click <strong>[Next&gt;]<\/strong>.<\/li>\n<li>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 <strong>[Browse&#8230;]<\/strong> button to find the appropriate directory.<\/li>\n<li>Click <strong>[Next&gt;]<\/strong> when you have highlighted the survey you require.\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-25186\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/3Select-the-survey.png\" alt=\"3Select the survey\" width=\"587\" height=\"167\" srcset=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/3Select-the-survey.png 587w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/3Select-the-survey-150x43.png 150w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/3Select-the-survey-500x142.png 500w\" sizes=\"auto, (max-width: 587px) 100vw, 587px\" \/><\/div>\n<\/li>\n<li>\n<div>Snap displays another dialog.<br \/>\nSelect the type of <strong>Import\/Export<\/strong> Options to use.<br \/>\n<strong>Join cases where the link variables match:<\/strong><br \/>\nOnly import\/export data where the value in the link variable matches between the two surveys (E.g. a survey containing customer ID numbers matches the information in the link survey with the same ID number.) Snap imports all requested data where two ID numbers are matched, and ignores all data in cases where the ID number does not match.<br \/>\n<strong>Join matching cases and append unmatched cases:<\/strong><br \/>\nThis option works as above, and also adds the unmatched data as new cases at the end of the file.<br \/>\n<strong>Append unmatched cases:<\/strong><br \/>\nThis option only imports\/exports cases that do not find a match between the link variable in the surveys.<br \/>\n<strong>Append all cases:<\/strong>This option imports\/exports every case of data into your survey as a new data case. It does not try to match the link variables.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-25178\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/4Import-Export-option.png\" alt=\"4Import Export option\" width=\"587\" height=\"179\" srcset=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/4Import-Export-option.png 587w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/4Import-Export-option-150x46.png 150w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/4Import-Export-option-500x152.png 500w\" sizes=\"auto, (max-width: 587px) 100vw, 587px\" \/><br \/>\nIf you select <strong>Append all Cases<\/strong> you do not need to define a link variable.<\/div>\n<\/li>\n<li>If you select any of the other import types, select the link variable in your current survey.\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-25180\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/5Link-variables.png\" alt=\"5Link variables\" width=\"560\" height=\"196\" srcset=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/5Link-variables.png 560w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/5Link-variables-150x53.png 150w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/5Link-variables-500x175.png 500w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/div>\n<\/li>\n<li>Select the variable containing the matching data in the survey you are importing from.<br \/>\nThe 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 &#8216;Customer ID&#8217; variables. (Link variables are also known as database keys).<\/li>\n<li>Click <strong>[Next]<\/strong> 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.<\/li>\n<li>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 <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24631\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/01\/245.png\" alt=\"Scroll down arrow\" width=\"17\" height=\"17\" \/> 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.\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-25182\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/6Database-linkage-wizard-mapping.png\" alt=\"6Database linkage wizard mapping\" width=\"588\" height=\"562\" srcset=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/6Database-linkage-wizard-mapping.png 588w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/6Database-linkage-wizard-mapping-150x143.png 150w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/6Database-linkage-wizard-mapping-500x478.png 500w\" sizes=\"auto, (max-width: 588px) 100vw, 588px\" \/><\/div>\n<div>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.<br \/>\nThe example shows an extra code, <strong>wine\/beer<\/strong>, is an extra code in the survey that you are importing data from. You can assign <strong>wine\/beer<\/strong> to the <strong>Other<\/strong> code.<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-25183\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/7Database-linkage-wizard-mapping.png\" alt=\"7Database linkage wizard mapping\" width=\"587\" height=\"560\" srcset=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/7Database-linkage-wizard-mapping.png 587w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/7Database-linkage-wizard-mapping-150x143.png 150w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/7Database-linkage-wizard-mapping-500x477.png 500w\" sizes=\"auto, (max-width: 587px) 100vw, 587px\" \/><br \/>\nYou could also create a new code in the current survey for <strong>wine\/beer<\/strong> by right clicking the row and selecting <strong>New code<\/strong> from the context menu.<br \/>\nYou can create a <strong>new variable<\/strong> 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.<\/div>\n<\/li>\n<li>Click <strong>[Next]<\/strong> to display a summary of what the link does.<\/li>\n<li>Check the details are correct, and enter a <strong>Name<\/strong> for the database link.<\/li>\n<li>Click <strong>[Finish]<\/strong>. Snap shows the <strong>Database Linkage<\/strong> dialog including the new link.\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-25201\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/8After-clicking-finish.png\" alt=\"8After clicking finish\" width=\"609\" height=\"288\" srcset=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/8After-clicking-finish.png 609w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/8After-clicking-finish-150x71.png 150w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/8After-clicking-finish-500x236.png 500w\" sizes=\"auto, (max-width: 609px) 100vw, 609px\" \/><br \/>\nIf you wish to alter any part of the link, click <strong>[Modify]<\/strong>. To delete a link, click <strong>[Delete]<\/strong>. To make a copy of the link, click <strong>[Clone]<\/strong>, and then modify the new link as required.<\/div>\n<\/li>\n<li>Select the link and click <strong>[Run]<\/strong> to import the data. Snap displays a brief report. Click <strong>[OK]<\/strong> to close it.<\/li>\n<li>Check your data. This can be done by looking at a summary of the results.<br \/>\nChoose <strong>[View]<\/strong> and select <strong>[Questionnaire]<\/strong> click <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-25188\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2017\/04\/data-view-mode-button.gif\" alt=\"Data view mode button\" width=\"32\" height=\"30\" \/>\u00a0and choose <strong>[Counts]<\/strong> on the toolbar. Scroll down through the questionnaire checking the figures for each question are correct.<\/li>\n<\/ol>\n<p>The <strong>Database Link Wizard<\/strong> can also automatically import and export information as data is entered using a <a href=\"https:\/\/www.snapsurveys.com\/help\/index.htm#13193\" target=\"_self\" rel=\"noopener noreferrer\">Hot Link<\/a>.<\/p>\n<p>If there is a topic you would like a worksheet on, email to <a class=\"\" title=\"\" href=\"mailto:snapideas@snapsurveys.com\" target=\"_self\">snapideas@snapsurveys.com<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><a class=\"ninja_pages_read_more\"  href=\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/merging-similar-surveys\/\"><\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"parent":43,"menu_order":129,"comment_status":"open","ping_status":"closed","template":"page-templates\/child-page.php","meta":{"_acf_changed":false,"footnotes":""},"class_list":{"0":"post-4813","1":"page","2":"type-page","3":"status-publish","5":"search_category-support-hub"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Merging Data - Snap Surveys<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Merging Data - Snap Surveys\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/merging-similar-surveys\/\" \/>\n<meta property=\"og:site_name\" content=\"Snap Surveys\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/SnapSurveys\" \/>\n<meta property=\"article:modified_time\" content=\"2019-01-10T15:06:43+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@snapsurveys\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/merging-similar-surveys\/\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/merging-similar-surveys\/\",\"name\":\"Merging Data - Snap Surveys\",\"isPartOf\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/#website\"},\"datePublished\":\"2012-10-23T14:05:11+00:00\",\"dateModified\":\"2019-01-10T15:06:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/merging-similar-surveys\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/merging-similar-surveys\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/merging-similar-surveys\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.snapsurveys.com\/support-snap11\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Worksheets\",\"item\":\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Merging Data\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/#website\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snap11\/\",\"name\":\"Snap Surveys\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.snapsurveys.com\/support-snap11\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Merging Data - Snap Surveys","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_GB","og_type":"article","og_title":"Merging Data - Snap Surveys","og_url":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/merging-similar-surveys\/","og_site_name":"Snap Surveys","article_publisher":"https:\/\/www.facebook.com\/SnapSurveys","article_modified_time":"2019-01-10T15:06:43+00:00","twitter_card":"summary_large_image","twitter_site":"@snapsurveys","twitter_misc":{"Estimated reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/merging-similar-surveys\/","url":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/merging-similar-surveys\/","name":"Merging Data - Snap Surveys","isPartOf":{"@id":"https:\/\/www.snapsurveys.com\/support-snap11\/#website"},"datePublished":"2012-10-23T14:05:11+00:00","dateModified":"2019-01-10T15:06:43+00:00","breadcrumb":{"@id":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/merging-similar-surveys\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/merging-similar-surveys\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/merging-similar-surveys\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.snapsurveys.com\/support-snap11\/"},{"@type":"ListItem","position":2,"name":"Worksheets","item":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/"},{"@type":"ListItem","position":3,"name":"Merging Data"}]},{"@type":"WebSite","@id":"https:\/\/www.snapsurveys.com\/support-snap11\/#website","url":"https:\/\/www.snapsurveys.com\/support-snap11\/","name":"Snap Surveys","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.snapsurveys.com\/support-snap11\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"}]}},"_links":{"self":[{"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages\/4813","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/comments?post=4813"}],"version-history":[{"count":10,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages\/4813\/revisions"}],"predecessor-version":[{"id":28164,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages\/4813\/revisions\/28164"}],"up":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages\/43"}],"wp:attachment":[{"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/media?parent=4813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}