Description Usage Arguments Details Value Note Examples
fars_read is used to read FARS (Fatality Analysis Reporting System) csv files.
1 | fars_read(filename)
|
filename |
A character string of the path and the file name. For example "./A/B/C/xyz.csv.bz2" |
Converts a FARS bz2 file into a dataframe
This function returns a data frame.
Error Message: If a wrong file name is entered then an error is thrown
1 2 | t <- system.file("extdata", "accident_2013.csv.bz2", package="fars")
fars_read(t)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.