The ReadStat.jl Julia package uses the ReadStat C library to parse binary and transport files from Stata, SPSS and SAS. All functions return a ReadStatDataFrame
whose fields hold the various informations contained in the passed file (column names, column data, labels, formats...).
For integration with packages like DataFrames.jl you should use the StatFiles.jl package.
using ReadStat
read_dta("/path/to/something.dta")
read_por("/path/to/something.por")
read_sav("/path/to/something.sav")
read_sas7bdat("/path/to/something.sas7bdat")
read_xport("path/to/something.xpt")
To install the package, run the following:
Pkg.add("ReadStat")