Description Usage Arguments Value See Also
Read the latest CSV or XLSX file with a given pattern in a given folder.
1 2 | read_latest(srcDir = ".", pattern, skip = 0, sheet = 1,
R.identifiers = FALSE)
|
srcDir |
The search directory |
pattern |
A regular expression matching the file you want to find |
skip |
The number of lines to skip in the input file, defaults to 0 |
sheet |
The sheet number if reading a apreadsheet, defaults to 1 |
R.identifiers |
Convert the column names to valid R identifiers, defaults to |
A data frame with the colnames either as exact strings matching the header
values, or as valid R identifies for compatibility with read.csv()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.