Description Usage Arguments Value Examples
View source: R/fars_functions.R
This function creates a tbl_df object from multiple files using a list of years as the function argument. Prints the resulting tbl_df a side-effect. An error message Invalid Year: <value> is returned if the provided year is not between 2013 and 2015.
1 | fars_read_years(years)
|
years |
A vector of years. |
A tbl_df with the month and year for each of the years that were specified in the function argument. Prints the tbl_df as a side-effect.
1 2 3 4 5 | ## Not run:
fars_read_years(2013)
fars_read_years(c(2013, 2014, 2015))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.