Learn R Programming

⚠️There's a newer version (2.5.4) of this package.Take me there.

haven (version 0.1.0)

Import SPSS, Stata and SAS Files

Description

Import foreign statistical formats into R via the ReadStat C library. Package includes preliminary support for writing Stata and SPSS formats.

Copy Link

Version

Install

install.packages('haven')

Monthly Downloads

654,979

Version

0.1.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Hadley Wickham

Last Published

March 1st, 2015

Functions in haven (0.1.0)

zap_empty

Convert empty strings into missing values.
as_factor

Convert input to a factor.
hms

Hours, minutes, seconds.
write_sav

Read SPSS (POR and SAV) files. Write SAV files.
write_dta

Read and write Stata DTA files.
labelled

Create a labelled vector.
read_sas

Read SAS files.