Description Usage Arguments Value Examples
This is a simple function that takes a filename (provided by user
with filename
argument), checks if file exists and if so reads
the files contents as a csv and outputs the data as a tbl. Errors could
result from the file being a format the cannot be read by readr::read_csv
1 | fars_read(filename)
|
filename |
A character string giving the name of the file to be read |
This function returns the data in user-provided filename
as a tbl.
1 2 3 4 | ## Not run:
fars_read('myfile.csv')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.