convert_from_rds {easyPSID} | R Documentation |
Export PSID files to another statistical language
Description
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.
Usage
convert_from_rds(language, in_direc, out_direc)
Arguments
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 |
Examples
convert_from_rds(
language="STATA",
in_direc=system.file("extdata","rds_dir", package = "easyPSID"),
out_direc=tempdir()
)
[Package easyPSID version 0.1.2 Index]