convert_from_rds {easyPSID} | R Documentation |
Exports all .rds files in the chosen directory into a common file format used by one of three other statistical programming languages (SPSS, SAS, and STATA). Unlike most alternatives, this function retains all variable labels provided by the PSID.
convert_from_rds(language, in_direc, out_direc)
language |
Language to export PSID .rds files into (options include SPSS, SAS, and STATA) |
in_direc |
Directory of PSID .rds files to export. Note that large files can take a long time to export. |
out_direc |
Directory for exported files to be placed |
convert_from_rds(
language="STATA",
in_direc=system.file("extdata","rds_dir", package = "easyPSID"),
out_direc=tempdir()
)