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

Next Topic

Book Contents

Book Index

Troubleshooting CSV and TSV Import Errors

To identify the Snap data case with the error, open up the Data Entry Window, click on the Filter button button and specify a filter of the corresponding variable name followed by ER, for example, Q12 ER would search for cases where Q12 is in error. The case number would be one less than the corresponding spreadsheet row. Thus if the first case selected is case 25, refer to the spreadsheet data in the column corresponding to Q12 at row 26.

Snap Variable Response

Probable Cause of Error

Single

The spreadsheet cell contains an entry that does not have a corresponding Code Label for the variable in the Snap survey. Add a code with the appropriate label to the Snap variable.

Multiple

The spreadsheet cell contains an entry that does not correspond with the label for that column. Either resolve the problem in the spreadsheet (data for a Multiple Response column must be associated with an individual code) or re-arrange the variable settings so that one or more Single Response variable is associated with each of the problem columns. Then, when the data has subsequently been imported, build an appropriate Derived Multiple Response variable to merge the corresponding Single Response variables.

Quantity

If there are no valid values set and the problem is still arising, the cause is probably that the number is out of range of what Snap can handle. Numeric values can be no larger than eight digits. You could factor the numbers to fit that constraint. For example, create a new spreadsheet column which represents the original divided by 1 000 and use that in its place.

Date

If a valid date is found which exceeds the bounds set by the Valid Value setting of the Snap variable, simply extend the definition of valid values as appropriate or remove them altogether.

Time

If a valid time is found which exceeds the bounds set by the Valid Value setting of the Snap variable, simply extend the definition of valid values as appropriate or remove them altogether.

Literal

If bounds have applied through the Valid Value setting of the Snap variable, extend the definition of valid values as appropriate or remove them altogether.

Exporting without a header row

If you need to export CSV data without a header row, you must set up a switch in the snap .ini file.

[csv]
forceHeader=0