SEEDIS: data conversion utilities

After a successful SEEDIS data extraction you will have a data file codata.dat.

In the VMS computer where SEEDIS runs there are data conversion utilities known as CODATA tools.

After you have obtained the file codata.dat , leave SEEDIS and (optionally) run one or more of the data conversion utilities. In the following examples the characters "<" and "" are to be typed exactly as shown, with no space between those characters and the following file name. Except for codata.dat the file names are arbitrary.

You can use SNDMSG to mail the output files to any Internet address, or KERMIT or FTP to download the files to your own computer.

cosplit

cosplit  <codata.dat  temp.nar  temp.ddf  >temp.dat

splits codata.dat into three parts: temp.nar is a one-line file containing the number of rows (geographic areas); temp.ddf is a data description file describing the columns (data elements) in each row; and temp.df is a rectangular fixed-format data file suitable for printing or as input to a user-provided program.

ddffmt

ddffmt	<codata.dat	>temp.fmt

writes to temp.fmt a FORTRAN format statement suitable for reading temp.df.

coname

coname      <codata.dat  >temp.nam
coname  -h  <codata.dat  >temp.nam

writes to temp.nam the names of the columns (data elements) in each record; the second form provides descriptive headers also.

cosas

cosas       <codata.dat  >temp.sas

produces a file temp.sas which can be used as input to SAS.

cospssx

cospss      <codata.dat  >temp.sps

produces a file temp.sps which can be used as input to SPSS-X.

cosplus

cosplus      codata.dat

produces a file seedis.s which can be used as input to SPLUS.

other CODATA tools

For more information, type

coman	coman


back to SEEDIS


seedis/convert.html 6/11/94 in:

http://parep2.lbl.gov/mdocs
http://merrill.wwh.net/mdocs
http://imap.chesapeake.net/~merrill/mdocs

merrill@crocker.com