Description Usage Arguments Details Value Examples
Reads a file in .csv format and creates a tibble data frame.
1 | fars_read(filename)
|
filename |
A character string ending in .csv giving the file name of the data to be read into R as a data frame |
If filename
does not match an existing file, function will return
an error: "file filename does not exist"
.
This function returns a dataset as a tibble data frame. As a side effect, this function prints the data frame, unless coerced as an object.
1 2 | ## Not run: fars_read(accident_2013.csv)
## Not run: fars_read(accident_2014.csv)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.