Package: haven 2.5.4.9000
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:
haven_2.5.4.9000.tar.gz
haven_2.5.4.9000.zip(r-4.5)haven_2.5.4.9000.zip(r-4.4)haven_2.5.4.9000.zip(r-4.3)
haven_2.5.4.9000.tgz(r-4.4-x86_64)haven_2.5.4.9000.tgz(r-4.4-arm64)haven_2.5.4.9000.tgz(r-4.3-x86_64)haven_2.5.4.9000.tgz(r-4.3-arm64)
haven_2.5.4.9000.tar.gz(r-4.5-noble)haven_2.5.4.9000.tar.gz(r-4.4-noble)
haven_2.5.4.9000.tgz(r-4.4-emscripten)haven_2.5.4.9000.tgz(r-4.3-emscripten)
haven.pdf |haven.html✨
haven/json (API)
NEWS
# Install 'haven' in R: |
install.packages('haven', repos = c('https://tidyverse.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/tidyverse/haven/issues
Pkgdown:https://haven.tidyverse.org
Last updated 2 months agofrom:d83f406b6c. Checks:OK: 3 NOTE: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 09 2024 |
R-4.5-win-x86_64 | OK | Dec 09 2024 |
R-4.5-linux-x86_64 | OK | Dec 09 2024 |
R-4.4-win-x86_64 | NOTE | Dec 09 2024 |
R-4.4-mac-x86_64 | NOTE | Dec 09 2024 |
R-4.4-mac-aarch64 | NOTE | Dec 09 2024 |
R-4.3-win-x86_64 | NOTE | Dec 09 2024 |
R-4.3-mac-x86_64 | NOTE | Dec 09 2024 |
R-4.3-mac-aarch64 | NOTE | Dec 09 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
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Convert labelled vectors to factors | as_factor as_factor.data.frame as_factor.haven_labelled as_factor.labelled |
Create a labelled vector. | is.labelled labelled |
Labelled vectors for SPSS | labelled_spss |
Print the labels of a labelled vector | print_labels |
Read and write Stata DTA files | read_dta read_stata write_dta |
Read SAS files | read_sas |
Read and write SPSS files | read_por read_sav read_spss write_sav |
Read and write SAS transport files | read_xpt write_xpt |
"Tagged" missing values | format_tagged_na is_tagged_na na_tag print_tagged_na tagged_na |
Convert empty strings into missing values | zap_empty |
Remove format attributes | zap_formats |
Zap variable labels | zap_label |
Zap value labels | zap_labels zap_labels.haven_labelled_spss |
Zap special missings to regular R missings | zap_missing |
Remove display width attributes | zap_widths |