# Import and Export 'SPSS', 'Stata' and 'SAS' Files

## Documentation for package ‘haven’ version 2.3.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

as_factor | Convert input to a factor.
as_factor.data.frame | Convert input to a factor.
as_factor.haven_labelled | Convert input to a factor.
as_factor.labelled | Convert input to a factor.
format_tagged_na | "Tagged" missing values
is.labelled | Create a labelled vector.
is_tagged_na | "Tagged" missing values
labelled | Create a labelled vector.
labelled_spss | Labelled vectors for SPSS
na_tag | "Tagged" missing values
print_labels | Print the labels of a labelled vector
print_tagged_na | "Tagged" missing values
read_dta | Read and write Stata DTA files.
read_por | Read SPSS ('.sav', '.zsav', '.por') files. Write '.sav' and '.zsav' files.
read_sas | Read and write SAS files.
read_sav | Read SPSS ('.sav', '.zsav', '.por') files. Write '.sav' and '.zsav' files.
read_spss | Read SPSS ('.sav', '.zsav', '.por') files. Write '.sav' and '.zsav' files.
read_stata | Read and write Stata DTA files.
read_xpt | Read and write SAS transport files
tagged_na | "Tagged" missing values
write_dta | Read and write Stata DTA files.
write_sas | Read and write SAS files.
write_sav | Read SPSS ('.sav', '.zsav', '.por') files. Write '.sav' and '.zsav' files.
write_xpt | Read and write SAS transport files
zap_empty | Convert empty strings into missing values.
zap_formats | Remove format attributes
zap_label | Zap label
zap_labels | Zap labels
zap_missing | Zap special missings to regular R missings
zap_widths | Remove display width attributes