Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/queryverse/ReadStat.jl
Read files from Stata, SAS, and SPSS
https://github.com/queryverse/ReadStat.jl
julia queryverse
Last synced: about 2 months ago
JSON representation
Read files from Stata, SAS, and SPSS
- Host: GitHub
- URL: https://github.com/queryverse/ReadStat.jl
- Owner: queryverse
- License: mit
- Created: 2013-12-01T21:59:46.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-12-29T02:50:15.000Z (about 1 year ago)
- Last Synced: 2024-08-04T17:08:05.799Z (5 months ago)
- Topics: julia, queryverse
- Language: Julia
- Size: 267 KB
- Stars: 77
- Watchers: 5
- Forks: 21
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-julia-datasciences - Data Read - Read files from Stata, SAS, and SPSS. (APL / Data Analysis / Data Visualization)
README
# ReadStat
[![Project Status: Active - The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)
[![Build Status](https://travis-ci.org/queryverse/ReadStat.jl.svg?branch=master)](https://travis-ci.org/queryverse/ReadStat.jl)
[![Build status](https://ci.appveyor.com/api/projects/status/99xmebpmtcvv7gxw/branch/master?svg=true)](https://ci.appveyor.com/project/queryverse/readstat-jl/branch/master)
[![codecov](https://codecov.io/gh/queryverse/ReadStat.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/queryverse/ReadStat.jl)## Overview
ReadStat.jl: Read files from Stata, SPSS, and SAS
--The ReadStat.jl Julia package uses the [ReadStat](https://github.com/WizardMac/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](https://github.com/JuliaData/DataFrames.jl) you should use the [StatFiles.jl](https://github.com/queryverse/StatFiles.jl) package.
## Usage:
```julia
using ReadStatread_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:```julia
Pkg.add("ReadStat")
```