Description Usage Arguments Value
View source: R/fars-functions.R
This is a function that generates a data frame for given years
(from the FARS data file)
using the functions make_filename
and link{fars_read}
and selects only the columns for month and year.
An error message ("invalid year") is printed if an associated data set cannot be found.
1 | fars_read_years(years)
|
years |
A numeric value denoting the year/ a list of years during which data should be gathered |
This function returns a data frame containing month and year for each data entry of the corresponding data set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.