Description Usage Arguments Value Note Examples
This function accepts a vector or list of years years
, where the records from US
National Highway Traffic Safety Administration's Fatality Analysis Reporting System should
be available. It returns a list of the data.frames with two columns (MONTH, year).
1 | fars_read_years(years)
|
years |
A vector or list (numeric or integer) with the years of accident records. |
This function returns a list of tibbles (data.frames) from the respective years of the records. This function returns a warning and NULL if the file(s) does not exist.
This function will give error if the files are not located in the working directory.
1 2 | fars_read_years(2013)
fars_read_years(2013:2015)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.