up vote 0 down vote favorite
1
share [g+] share [fb]

There are gov't data files: http://www.cdc.gov/EpiInfo/

Available in this weird SAS format. How can I convert them into XML/CSV, something much simpler that can be read by scripts/etc.???

link|improve this question

75% accept rate
Is ftp.cdc.gov/pub/health_statistics/NCHS/Datasets/NSFG/sas/… an example of the SAS files you're looking at? CDC seems to use this extension for code as well as data. – ayrnieu Oct 12 '09 at 18:49
1  
search.cpan.org/~mlf/SAS-Parser-0.93/lib/SAS/Parser.pm deals with them – ayrnieu Oct 12 '09 at 18:54
1  
SAS is an integrated programming/data management tool. Unless specifically done otherwise, the code & data are stored in the same file/type. – DaveE Oct 12 '09 at 20:19
feedback

2 Answers

up vote 1 down vote accepted

StatTransfer will convert SAS files to a variety of formats and it includes options to filter variables or observations, customize the delimiter, and change variable storage formats during the transfer.

AM will also covert data, but it's less powerful/flexible. AM is freeware and written for Windows.


Eric A. Booth || ebooth@ppri.tamu.edu

link|improve this answer
feedback

SAS Institute (the company that makes SAS) produces a viewer for SAS data sets.

Note that SAS program files usually have the extension .sas, whereas the data files themselves usually have the extension .sas7bdat.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.