Description Usage Arguments Details Value Examples
This function reads data from the US National Highway Traffic Safety Administration's [Fatality Analysis Reporting System](https://www.nhtsa.gov/Data/Fatality- Analysis-Reporting-System-(FARS)), given a filename for the data. It returns a tibble of the data. For this function to work properly, a filename pointing to an existing file must be given.
1 | fars_read(filename)
|
filename |
Name of file that contains FARS data |
fars_read
reads FARS data in R envirnoment.
This function returns a data frame containing the FARS data. If an incorrect filename is entered the function will stop and print 'does not exist' message.
1 2 3 4 | ## Not run:
fars_read(accident_2014.csv.bz2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.