Home

Awesome

ReadStat

Project Status: Active - The project has reached a stable, usable state and is being actively developed. Build Status Build status codecov

Overview

ReadStat.jl: Read files from Stata, SPSS, and SAS

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.

Usage:

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")

Installation

To install the package, run the following:

Pkg.add("ReadStat")