Description Usage Arguments Value Examples
View source: R/fars_functions.R
This is a function for reading csv-files and returning the data as a tibble. If the file does not exist the function returns an error with the non-existing file-name. Files ending with .gz, .bz2, .xz, or .zip will be automatically uncompressed and files starting with ttp://, https://, ftp://, or ftps:// will be downloaded. If the the file to read is not a csv-file, the function produces an error for an invalid file argument.
1 | fars_read(filename)
|
filename |
A path to a file as a single string or vector. |
This function returns the data as a tibble.
1 | fars_read(make_filename(2013))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.