home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-386-Vol-2of3.iso
/
c
/
codebk11.zip
/
TESTDATA.COD
< prev
next >
Wrap
Text File
|
1990-12-21
|
3KB
|
44 lines
Example codebook TESTDATA.COD for TESTDATA.DAT Field descriptions:
Quoting|MissingValue|BeginColumn|EndColumn|FieldWidth|VariableName|Comment
pos.1! |pos.>1 opt. ,required ,required ,optional ,optional ,optional
space'"|any text/num,pos.int. ,pos.int. ,integer ,no sp/comma ,free text
-9,1,2,2,A_Number with some meaning
-1,3,4,2,Another_Nr,with whatever meaning
unknown,11 16 6 THIRD_NR, this is the third variable
9,17 17 1 NumberFour ─────────────────────────────────┐
│ │ 1=meaning of value 1 │
│ These lines are │ 2= " " " 2 │
│ comment lines and │ 3= " " " 3 │
│ are NOT interpre- │ 4= " " " 4 │
│ ted by CODEBOOK, │ 5= " " " 5 │
│ but may be used │ 6= " " " 6 │
│ for the user's │ 7= " " " 7 │
│ own purpose │ 8= " " " 8 │
│ │ 9= " " " 9 │
└────────────────────┴─────────────────────────────────┘
""not known",18,32,0,Address street & house number, discriminated below
,18 29 0 Street
???,30 32 3 HouseNr
,33,41,0,Residence,name of place
***,8,10,3,
MisVal , 5, 7, 3, Col5to7, I don't know the meaning of this variable.
"MisV" , 1, 4, 4, Col1to4, these columns are already read by the first two variables, but may be reread unlimitedly.
MissingValue, 1 10 10 Col1to10 being another variable example thought of.
Variable Names as well as Missing Values in Fixed Formatted and Report Type
output files always are right justified within the fields. If there is not
enough space to print the whole name or value the leftmost characters are
removed.
Note that in the examples above both the Variable Name and the Missing Value
may actually be wider than the field width for the variable. The whole name or
value is converted into Blank or Comma delimited files and to Report files in
which there is enough space between the variables to print the extra characters.
Centrum voor Medische Informatica TNO <Email> | | |\/|
TNO Center for Medical Informatics | GROENEVELD@CMI.TNO.NL | \_/ | | |
( CMI-TNO ) | Y. Groeneveld | GROENEVELD@CMIHP1.UUCP | Jim Groeneveld
P.O.Box 124 | Wassenaarseweg 56 | GROENEVELD@TNO.NL | Schoolweg 14
2300 AC Leiden | 2333 AL Leiden | ...@HDETNO51.BITNET | 8071 BC Nunspeet
Nederland. | (+31|0)71-181810 | Fax (+31|0)71-176382 | 03412-60413