read_all_csv | R Documentation |
.csv
files in a directoryRead all .csv
files in a directory, with labels if specified.
read_all_csv(
path,
...,
labels_from = NULL,
clean_names_fun = NULL,
read_fun = "guess",
datetime_extraction = "guess",
verbose = getOption("edc_read_verbose", 1)
)
path |
[ |
... |
unused |
labels_from |
[ |
clean_names_fun |
[ |
read_fun |
[ |
datetime_extraction |
[ |
verbose |
[ |
a list containing one dataframe for each .csv
file in the folder, the extraction date (datetime_extraction
), and a summary of all imported tables (.lookup
).
labels_from
should contain the information about column labels. It should be a data file (.csv
) containing 2 columns: one for the column name and the other for its associated label. Use options(edc_col_name="xxx", edc_col_label="xxx")
to specify the names of the columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.