How to download SPSS files from IDLS

IDLS - Internet Data Library Service

IDLS is a data extraction service developed and maintained by the Social Science Computing Laboratory at the University of Western Ontario. It provides access to most -- but not all -- of the data available through the DLI. The advantage of using an extraction service such as IDLS is that the researcher can readily identify, select and download variables which can then be custom-tabulated through SPSS. This guide provides a brief introduction to:

  1. Downloading data from the IDLS site
  2. Uncompressing it
  3. Importing it to SPSS
It requires the use of two software packages, WinZip (or other data compression utility) and SPSS.

Accessing IDLS

From the Memorial University Libraries' homepage (http://www.library.mun.ca):

Step 1 - View, select and download variables from a file

Step 2 - Download the zipped file to your hard drive and uncompress it

NOTE: if you are using a different compression utility, use that program's help feature to determine how to unzip the files.

Step 3 - Import the data set into SPSS

The three files that should appear unzipped in the directory are:
Data file (.dat): Contains the raw data for the variables that were extracted.
SPSS file (.sps): Contains the SPSS command file.
HTML file (.html): Contains the customized codebook for the subset of variables extracted.

  1. Click on the SPSS icon (.sps file) to open the command file. SPSS should open automatically.
  2. On the line that begins "data list…" indicate the location of the data file. If your data is in the directory c:\data\socialsurvey03, you must change the line that reads file='?:\?\ftp#####.dat' to file='c:\data\socialsurvey03\ftp#####.dat
  3. Click on Run/All.
Unless an error was made in specifying the location and name of the data file, the data should have been read. The SPSS Viewer will display the list of variables that have been input and the SPSS Data Editor will show the active file.

NOTE: IDLS also contains syntax files for SAS and STATA. Follow the instructions with those programs for step 3.

July 15, 2008
Gillian Byrne