folder_2stata: batch convert a folder of dataframes into individual stata...

Description Usage Arguments

View source: R/utilities.R View source: R/hello.R

Description

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

Usage

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)

Arguments

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


blueprint-ade/bputils documentation built on June 10, 2018, 9:26 p.m.