Description Usage Arguments Details Value Examples
View source: R/fars_functions.R
This is a function that takes the filename of a .csv file as an argument and returns that file loaded into R as a tibble.
1 | fars_read(filename)
|
filename |
The filename of the .csv file you want to import |
For this function to work properly, a file must exist at the path specified by the argument.
This function returns an R tibble containing the data from the .csv file that was read in. This function will return Error in file.exists(filename) : invalid 'file' argument if no file exists at the filepath specified as the filename argument.
1 2 | ## Not run: fars_read("coursera/data/accident_2013.csv.bz2")
## Not run: fars_read("data.csv")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.