next up previous
Next: 2000 CODEBOOK INFORMATION - Up: No Title Previous: 2000 FILE STRUCTURE AND

2000 CODEBOOK INFORMATION



The following example from the 1948 NES study provides the standard 
format for codebook variable documentation. 

Note that NES studies which are not part of the Time-Series usually
omit marginals and the descriptive content in lines 2-5 (except for
variable name).


Line

1  ==============================                                              
2  VAR 480026    NAME-NOT AVAILABLE IN ADVANCE RELEASE                         
3                COLUMNS 61   - 61                                             
4                NUMERIC                                                       
5                MD=0 OR GE 8                                                  
6                                                                              
7                  Q. 17.  (IF R DID NOT VOTE)  WERE YOU REGISTERED (ELIGIBLE)
8                  TO VOTE.                                                   
9                  ...........................................................
10                                                                            
11            82         1.  YES
12           149         2.  NO 
13                                                                            
14             0         8.  DK                                                
15             9         9.  NA
16           422         0.  INAP., R VOTED                                    

                                                                  


Line 2 - VARIABLE NAME.  Note that in the codebook the variable name
         (usually a 'number') does not include the "V" prefix which is 
         used in the release SAS and SPSS data definition files
         (.sas and .sps files) for all variables including those
         which do not have 'number' names.  For example the variable
         "VERSION" in the codebook is "VVERSION" in the data definition
         files.

Line 2 - "NAME".  This is the variable label used in the SAS and SPSS
         data definition files (.sas and .sps files).  Some codebooks 
         exclude this.

Line 3 - COLUMNS.  Columns in the ASCII data file (.dat file).

Line 4 - CHARACTER OR NUMERIC.  If numeric and the variable is a decimal
         rather than integer variable, the number of decimal places is 
         also indicated (e.g. "NUMERIC  DEC 4")

Line 5 - Values which are assigned to missing by default in the Study's
         SAS and SPSS data definition files (.sas and .sps files).

Line 7 - Actual question text for survey variables or a description of 
         non-survey variables (for example, congressional district).
         Survey items usually include the question number (for example
         "B1a.") from the Study questionnaire; beginning in 1996 
         non-survey items also have unique item numbers (for example
         "CSheet.1").

Line 9 - A dashed or dotted line usually separates question text from
         any other documentation which follows.

Line 10- When present, annotation provided by Study staff is presented
         below the question text/description and preceding code values.

Lines 11-16
         Code values are listed with descriptive labels.  Valid codes
         (those not having 'missing' status in line 5) are presented
         first, followed by the values described in line 5.  For
         continuous variables, one line may appear providing the range
         of possible values.  A blank line usually separates the 'valid'
         and 'missing' values.

Lines 11-16
         Marginals are usually provided for discrete variables.  The 
         counts may be unweighted or weighted; check the study codebook
         introductory text to determine weight usage. NOTE: marginals
         may be present as a table following the list of codes.


Walter Mebane
Mon Nov 19 01:34:04 EST 2001