Description Usage Arguments Value Note Examples
View source: R/fars_functions.R
Imports the specified file by only providing the year as a parameter and returns a data frame containing only MONTH and year columns.
1 | fars_read_years(years)
|
years |
A vector of positive integers representing years of interest |
A list of tibbles
Returns an error when supplying the function with years for which there are no data frames to import
1 2 3 4 5 | ## Not run:
rtbls <- fars_read_years(2014)
rtbls <- 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.