Description Usage Arguments Value Note
This function reads in the accident data for multiple years as a list of dataframes. If one of the years can not be read in the function skips that year with a warning
1 | fars_read_years(years)
|
years |
Collection of years as vector or list where each element is in integer format or can be converted with as.integer |
This function returns a list of dataframes where each dataframe contains the data for one year
Errors in this function can result from errors thrown by the fars_read function or invalid years parameter being passed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.