Skip to content

queryverse/ReadStat.jl

Repository files navigation

ReadStat

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

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

About

Read files from Stata, SAS, and SPSS

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 11

Languages