Home · ReadStatTables.jl (original) (raw)

Welcome to the documentation site for ReadStatTables.jl!

ReadStatTables.jl is a Julia package for reading and writing Stata, SAS and SPSS data files with Tables.jl-compatible tables.[1] It utilizes the ReadStat C library developed by Evan Miller for parsing and writing the data files. The same C library is also the backend of popular packages in other languages such as pyreadstat for Python and haven for R. As the Julia counterpart for similar purposes, ReadStatTables.jl leverages the state-of-the-art Julia ecosystem for usability and performance. Its read performance, especially when taking advantage of multiple threads, surpasses all related packages by a sizable margin based on the benchmark results here:

Features

ReadStatTables.jl provides the following features in addition to wrapping the C interface of ReadStat:

Supported File Formats

ReadStatTables.jl recognizes data files with the following file extensions at this moment:

Installation

ReadStatTables.jl can be installed with the Julia package manager Pkg. From the Julia REPL, type ] to enter the Pkg REPL and run:

pkg> add ReadStatTables

Known Limitations

The development of ReadStatTables.jl is not fully complete. The main limitations to be addressed are the following: