Description Usage Arguments Details Value Examples
Uses the fars_read and make_filename functions to read a list of inputted years and applies the year function over each element of the vector, If year is valid calls fars_read function to read the csv file associated with each year Uses the dplyr function mutate to select month and year from data.
1 | fars_read_years(years)
|
years |
A list of years such as c(2013,2014,2015) #@param year year function applied to each year in the list |
An error message is generated if an invalid year is entered in the supplied list
tibbles n = n years
1 | fars_read_years(c(2013,2014,2015))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.