Description Usage Arguments Details Value Examples
Read source data file
1 | fars_read(filename)
|
filename |
a string and, optionally a path, representing a CSV file name |
This function looks for a CSV file called filename
and checks whether it exists or not,
if found it loads the data using readr::read.csv
and converts it to a dyplr dataframe using dyplr::tbl_df
.
If no data file with that name exists, the funtion returns an error.
a dataframe
1 2 3 | ## Not run:
fars_read("accident_2013.csv")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.