

Here are two examples from the General Social Survey Codebook: In these instances, you will only need to know the column locations of the variables you want. In many instances, the data file will have one record per observation.

#Radbeacon itunes how to#
It describes how the data are arranged in the computer file or files, what the various numbers and letters mean, and any special instructions on how to use the data properly. A codebook is a technical description of the data that was collected for a particular purpose. Now that we know what a data file is, we can make more sense out of what a codebook is.

This is particularly true for files that have information from the same observation for several years. If a survey had more questions than could fit on one card, then researchers had to continue the data on another card. This is a hold-over from the early days of computing when all the data were entered on punch cards which had only 80 columns. Often, though, a data file will have more than one line of data for each observation. The two examples above have one 'line,' 'record,' or 'card' of data for each observation. This is the simplest format of a data file and most will come like this. This, among many other important things, is found in the codebook. Since the information in the data file are all run together you need some way of determining where one variable ends and the next one starts. If you look closely, you can see that the actual numbers and letters are the same in both files. In this example, column A in the spreadsheet is column 1 in the data file, column B is columns 2-3, column C is columns 4-8, and column D is columns 9-14.

The first line of numbers isn't actually part of the data, we've put it there so you can see how the columns in a data file relate to the columns in a spreadsheet.
