View source: R/hello.R View source: R/utilities.R
batch convert a folder of dataframes into individual stata files with the same names
batch convert a folder of dataframes into individual stata files with the same names
1 2 3 | folder_2stata(dir_raw, dir_stata, format = "csv", col_widths = NULL)
folder_2stata(dir_raw, dir_stata, format = "csv", col_widths = NULL)
|
dir_raw |
path to directory with files to be converted |
dir_stata |
path to stata files directory |
format |
valid formats are csv, xls, dta, tsv, sav |
col_widths |
only used for reading fixed width files |
dir_raw |
path to directory with files to be converted |
dir_stata |
path to stata files directory |
format |
valid formats are csv, xls, dta, tsv, sav |
col_widths |
only used for reading fixed width files |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.