Description Usage Arguments Value Note Examples
This function takes as "input" the name of the file and return a dataframe using the readr::read_csv function.
1 | fars_read(filename)
|
filename |
= a character as the file name of the data in a csv format |
The fars_read function will return a dataframe
In case that the file does not exist will return the message indicating so. You will need to save the data files in the working directory to avoid error.
1 2 3 4 | ## Not run:
fars_read("accident_2013d.csv.bz2")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.