Description Usage Arguments Examples
View source: R/7convert_from_rdata.R
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.
1 | 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 |
1 2 3 4 5 | convert_from_rds(
language="STATA",
in_direc=system.file("extdata","rds_dir", package = "easyPSID"),
out_direc=tempdir()
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.