![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
Text files are another common source of data. Many spreadsheet programs and databases can save their contents in one of many text file formats.
Comma or tab delimited files refer to rows of data that use commas or tabs to indicate each variable. In this example, the data are tab delimited.
File
The Text Import Wizard guides you through the process of defining how the specified text file should be interpreted.
As stated earlier, this file uses tab delimited formatting. Also, the variable names are defined on the top line of this file.
The Data Preview provides you with a quick way to ensure your data are being properly read by SPSS.
Because the variable names may have been truncated to fit SPSS formatting requirements, this dialog gives you the opportunity to edit any undesireable names. Data types can be defined here as well. For example, it's safe to assume that the income variable is meant to contain a certain dollar amount. To change a data type...
|
|
Reading Data From a Text File |