dta2csv - command-line tool to convert Stata 8 and Stata 10 .dta files to csv
dta2csv file.dta [otherfile.dta ...]
The result will be in file.csv (or file-1.csv, file-2.csv, etc; no overwriting of existing files).
Minimal documentation, error management and testing. All types of missing values in the .dta file are turned into blank cells in the CSV. Probably some other problems.
This code comes with ABSOLUTELY NO WARRANTY of any kind.
Written by Franck Latremoliere. Copyright (c) 2007, 2008 Reckon LLP. http://www.reckon.co.uk/staff/franck/
This program is free software; you can use, redistribute and/or modify it under the same terms as Perl itself (Artistic Licence or GNU GPL).
Parse::Stata::DtaReader does the parsing.
To install Parse::Stata::DtaReader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Parse::Stata::DtaReader
CPAN shell
perl -MCPAN -e shell install Parse::Stata::DtaReader
For more information on module installation, please visit the detailed CPAN module installation guide.