Description Usage Arguments Value Note Examples
fars_read This function reads data from the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System (FARS). It proceed by reading the filename of the data povided as argument and return a data as a tibble.
1 | fars_read(filename)
|
filename |
A character string pointing to the filename of the FARS data. |
This function returns a tibble containing the FARS data. The function will stop if invalide filename is provided.
this package comes with three example files that can be accessed using fullname <- system.file('extdata', 'accident_2013.csv.bz2', package = 'farsdataanalysis') fars_read(filename = fullname)
1 2 3 4 | ## Not run:
fars_read("accident_2015.csv.bz2")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.