haven: Import and Export 'SPSS', 'Stata' and 'SAS' Files

Import foreign statistical formats into R via the embedded 'ReadStat' C library (https://github.com/WizardMac/ReadStat).

Install the latest version of this package by entering the following in R:
install.packages("haven")
AuthorHadley Wickham [aut, cre], Evan Miller [aut, cph] (Author of included ReadStat code), RStudio [cph]
Date of publication2016-09-23 22:44:41
MaintainerHadley Wickham <hadley@rstudio.com>
LicenseMIT + file LICENSE
Version1.0.0
https://github.com/hadley/haven, https://github.com/WizardMac/ReadStat

View on CRAN

Files

inst
inst/examples
inst/examples/iris.sas7bdat
inst/examples/iris.dta
inst/examples/iris.sav
inst/doc
inst/doc/semantics.Rmd
inst/doc/datetimes.html
inst/doc/semantics.R
inst/doc/datetimes.Rmd
inst/doc/semantics.html
tests
tests/testthat.R
tests/testthat
tests/testthat/hadley.sas7bdat
tests/testthat/helper-lump.R tests/testthat/test-write-dta.R
tests/testthat/labelled-str.sav
tests/testthat/tagged-na.sas7bdat
tests/testthat/test-replace_with.R
tests/testthat/labelled-num-na.sav
tests/testthat/types.dta
tests/testthat/tagged-na-int.dta
tests/testthat/test-as-factor.R
tests/testthat/variable-label.sav
tests/testthat/test-tagged_na.R
tests/testthat/tagged-na.txt
tests/testthat/test-labelled_spss.R
tests/testthat/labelled-output.txt
tests/testthat/test-read-connection.R
tests/testthat/hadley.zip
tests/testthat/datetime-d.dta
tests/testthat/test-zap_missing.R
tests/testthat/labelled-num.sav
tests/testthat/datetime.sas7bdat
tests/testthat/test-read-stata.R tests/testthat/write-sas.R
tests/testthat/datetime.sav
tests/testthat/test-zap_labels.R tests/testthat/test-labelled.R
tests/testthat/tagged-na-double.dta
tests/testthat/test-zap-empty.R
tests/testthat/formats.sas7bcat
tests/testthat/test-read-sav.R tests/testthat/test-read-sas.R tests/testthat/test-write-sav.R tests/testthat/helper-roundtrip.R
tests/testthat/labelled-spss-output.txt
tests/testthat/notes.dta
tests/testthat/umlauts.sav
tests/testthat/tagged-na.sas7bcat
src
src/Makevars
src/readstat
src/readstat/readstat_bits.h
src/readstat/CKHashTable.h
src/readstat/readstat_convert.c
src/readstat/spss
src/readstat/spss/readstat_sav_read.c
src/readstat/spss/readstat_sav_parse_timestamp.h
src/readstat/spss/readstat_sav_write.c
src/readstat/spss/readstat_sav_parse.c
src/readstat/spss/readstat_spss.h
src/readstat/spss/readstat_por_parse.c
src/readstat/spss/readstat_por.c
src/readstat/spss/readstat_sav.c
src/readstat/spss/readstat_por_read.c
src/readstat/spss/readstat_spss_parse.h
src/readstat/spss/readstat_sav.h
src/readstat/spss/readstat_spss.c
src/readstat/spss/readstat_por_parse.h
src/readstat/spss/readstat_sav_parse.h
src/readstat/spss/readstat_spss_parse.c
src/readstat/spss/readstat_sav_parse_timestamp.c
src/readstat/spss/readstat_por.h
src/readstat/spss/readstat_por_write.c
src/readstat/readstat_variable.c
src/readstat/readstat_writer.c
src/readstat/sas
src/readstat/sas/readstat_sas7bcat_write.c
src/readstat/sas/readstat_sas_rle.h
src/readstat/sas/readstat_sas.c
src/readstat/sas/readstat_sas7bcat_read.c
src/readstat/sas/readstat_sas7bdat_read.c
src/readstat/sas/readstat_sas_rle.c
src/readstat/sas/readstat_sas7bdat_write.c
src/readstat/sas/readstat_sas.h
src/readstat/readstat_io_unistd.c
src/readstat/readstat_bits.c
src/readstat/readstat_error.c
src/readstat/readstat_io_unistd.h
src/readstat/readstat.h
src/readstat/readstat_convert.h
src/readstat/readstat_iconv.h
src/readstat/readstat_value.c
src/readstat/readstat_parser.c
src/readstat/stata
src/readstat/stata/readstat_dta_parse_timestamp.c
src/readstat/stata/readstat_dta_write.c
src/readstat/stata/readstat_dta_parse_timestamp.h
src/readstat/stata/readstat_dta.c
src/readstat/stata/readstat_dta_read.c
src/readstat/stata/readstat_dta.h
src/readstat/CKHashTable.c
src/readstat/readstat_writer.h
src/DfWriter.cpp
src/haven_types.h
src/DfReader.cpp
src/tagged_na.c
src/Makevars.win
src/RcppExports.cpp
src/tagged_na.h
NAMESPACE
NEWS.md
R
R/zap_missing.R R/as_factor.R R/zap_formats.R R/update.R R/labelled_spss.R R/haven.R R/RcppExports.R R/tagged_na.R R/labelled.R R/zap_empty.R R/zzz.R R/zap_labels.R
vignettes
vignettes/semantics.Rmd
vignettes/rsconnect
vignettes/rsconnect/documents
vignettes/rsconnect/documents/semantics.Rmd
vignettes/rsconnect/documents/semantics.Rmd/rpubs.com
vignettes/rsconnect/documents/semantics.Rmd/rpubs.com/rpubs
vignettes/rsconnect/documents/semantics.Rmd/rpubs.com/rpubs/Document.dcf
vignettes/datetimes.Rmd
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/tagged_na.Rd man/print_labels.Rd man/read_dta.Rd man/zap_empty.Rd man/labelled_spss.Rd man/read_spss.Rd man/zap_missing.Rd man/as_factor.Rd man/labelled.Rd man/zap_formats.Rd man/zap_labels.Rd man/read_sas.Rd
LICENSE

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.