Description Usage Arguments Value Note Examples
This is a function that imports a comma-separated values file from the working directory
via read_csv
from readr
. After import, the data object is converted
to tibble format via tbl_df
from dplyr
.
1 | fars_read(filename)
|
filename |
A character vector matching the name of the file to be imported |
This function returns a dataset in tibble format. As a side effect, this function also prints the tibble.
If the file does not exist in the working directory, the function will return an error.
1 | ## Not run: fars_read("accident_2013.csv")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.