Package: haven 2.5.4

Hadley Wickham

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>.

Authors:Hadley Wickham [aut, cre], Evan Miller [aut, cph], Danny Smith [aut], Posit Software, PBC [cph, fnd]

haven_2.5.4.tar.gz
haven_2.5.4.tar.gz(r-4.5-noble)haven_2.5.4.tar.gz(r-4.4-noble)
haven.pdf |haven.html
haven/json (API)
NEWS

# Install 'haven' in R:
install.packages('haven', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/tidyverse/haven/issues

Uses libs:
  • zlib– Compression library
  • c++– GNU Standard C++ Library v3

13.43 score 568 packages 21k scripts 740k downloads 21 mentions 28 exports 26 dependencies

Last updated 11 months agofrom:bd66eae955. Checks:OK: 1 NOTE: 1. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 26 2024
R-4.5-linux-x86_64NOTEOct 26 2024

Exports:as_factorformat_tagged_nais_tagged_nais.labelledlabelledlabelled_spssna_tagprint_labelsprint_tagged_naread_dtaread_porread_sasread_savread_spssread_stataread_xpttagged_navec_arith.haven_labelledwrite_dtawrite_saswrite_savwrite_xptzap_emptyzap_formatszap_labelzap_labelszap_missingzap_widths

Dependencies:bitbit64clicliprcpp11crayonfansiforcatsgluehmslifecyclemagrittrpillarpkgconfigprettyunitsprogressR6readrrlangtibbletidyselecttzdbutf8vctrsvroomwithr

Conversion semantics

Rendered fromsemantics.Rmdusingknitr::rmarkdownon Oct 26 2024.

Last update: 2018-01-18
Started: 2016-09-23

Dates and times

Rendered fromdatetimes.Rmdusingknitr::rmarkdownon Oct 26 2024.

Last update: 2023-02-28
Started: 2015-02-28

Readme and manuals

Help Manual

Help pageTopics
Convert labelled vectors to factorsas_factor as_factor.data.frame as_factor.haven_labelled as_factor.labelled
Create a labelled vector.is.labelled labelled
Labelled vectors for SPSSlabelled_spss
Print the labels of a labelled vectorprint_labels
Read and write Stata DTA filesread_dta read_stata write_dta
Read SAS filesread_sas
Read and write SPSS filesread_por read_sav read_spss write_sav
Read and write SAS transport filesread_xpt write_xpt
"Tagged" missing valuesformat_tagged_na is_tagged_na na_tag print_tagged_na tagged_na
Convert empty strings into missing valueszap_empty
Remove format attributeszap_formats
Zap variable labelszap_label
Zap value labelszap_labels zap_labels.haven_labelled_spss
Zap special missings to regular R missingszap_missing
Remove display width attributeszap_widths