Description Usage Arguments Details Value Examples
View source: R/fars_functions.R
This function should be supplied with a vector of 4-digit years. It will read the FARS data from all the relevant files for those years, and return one tibble per year, retaining the 'MONTH' and 'year' columns only.
1 | fars_read_years(years)
|
years |
A vector of 4-digit numbers, each denoting a year. Must all be years for which you have a FARS data file, otherwise an error message will result. |
NB - In practice, this function is only likely to be called from within other functions. However, it is exported and documented here for the sake of completeness.
A list of tibbles, one for each of the specified years
,
retaining the 'MONTH' and 'year' columns only.
1 | fars_read_years(c(2013,2014))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.