Description Usage Arguments Details Value Examples
Read a single year of accident data into an R data_frame
. Format a
single years raw data downloaded from US National Highway Traffic Safety
Administration's Fatality Analysis Reporting System into a R object.
The file will be automatically decompressed if it uses the bz2 compression
algorithm.
1 | fars_read(filename)
|
filename |
A character string with the full path to the CSV file. |
If the file doesn't exist, an error will be raised.
This function returns a data_frame
object with the same
column names used in the input data file.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.