Converts a directory of .sav files to a new folder with .Rds files
Usage
lfs_convert(
lfs_directory,
output_directory,
filter_files = NULL,
incremental = FALSE
)
Arguments
- lfs_directory
Directory with raw LFS files
- output_directory
Target directory to save Rds files
- filter_files
Limit to certain files, using a named vector
- incremental
Only convert files which don't exist in output directory
Details
Note: importing labelled from haven is required to import haven when
tests are run - otherwise it can't use the haven labelled format.