Description Usage Arguments Value See Also Examples
Read a csv file from two alternative paths, trying the first one first, and the alternative one second. This is useful in rmarkdown files as the working directory changes during knitting.
1 | read_csv_alt(file, alt, ...)
|
file |
Either a path to a file, a connection, or literal data (either a single string or a raw vector). |
alt |
Alternative file. |
... |
Arguments passed to |
A data frame.
1 | ## Not run: read_csv_alt("myfile.csv", "./data-raw/myfile.csv")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.