Description Usage Arguments Author(s) References
View source: R/read.directory.R
Read in each file at a path and then unnest them. Defaults to csv format.
1 2 3 4 5 6 7 8 |
path |
a character vector of full path names |
pattern |
an optional regular expression. Only file names which match the regular expression will be returned. |
reader |
a function that can read data from a file name. |
... |
optional arguments to pass to the reader function (eg |
reducer |
a function to unnest the individual data files. Use I to retain the nested structure. |
recursive |
logical. Should the listing recurse into directories? |
Neal Fultz
https://stackoverflow.com/questions/11433432/how-to-import-multiple-csv-files-at-once
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.