Description Usage Arguments Details Value Note Examples
View source: R/fars_functions.R
Function that reads in data from a csv file and returns a tibble
| 1 | fars_read_years(years)
 | 
| years | Vector denoting the years for which the yearly FARS data is required | 
Function aborts and prints error message if there is no FARS data for a particular year
This function returns a list of tibble, with each element containing the yearly FARS data
Makes use of make_filename() and fars_read() functions
| 1 2 3 4 | ## Not run: 
fars_read_years(c("2020", "2019", "2018"))
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.