read.files | R Documentation |
Wraps purrr::map()
with an option to specify whether the list of files .l
should be compiled with tibble::enframe()
. Use after gather.files()
to
pipe in a vector of file paths with human-readable names.
read.files(.x, read_fn, enframe = TRUE, value = "file")
.x |
a vector of file paths to read |
read_fn |
un-quoted file reading function (specific to the file type; i.e. |
enframe |
whether to create a tibble with a name column and a list-column of the files |
value |
column name for the files held (ignored if |
a list or tibble of the files. Use gather.files()
to give them nice name before importing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.