Learn R Programming

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

haven (version 0.1.1)

Import SPSS, Stata and SAS Files

Description

Import foreign statistical formats into R via the embedded ReadStat C library (https://github.com/WizardMac/ReadStat). Package includes preliminary support for writing Stata and SPSS formats.

Copy Link

Version

Install

install.packages('haven')

Monthly Downloads

773,812

Version

0.1.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Hadley Wickham

Last Published

March 3rd, 2015

Functions in haven (0.1.1)

hms

Hours, minutes, seconds.
as_factor

Convert input to a factor.
write_sav

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

Read SAS files.
labelled

Create a labelled vector.
zap_empty

Convert empty strings into missing values.
write_dta

Read and write Stata DTA files.