Description Usage Arguments Details Value Examples
View source: R/fars_functions.R
The function returns a list of data frames per year which contains the corresponding columns "MONTH" and "year" with accidents
1 | fars_read_years(years)
|
years |
A vector of years (a vector consisting of numbers with 4 digits) |
The function registered the warning "invalid year: <year>" and returns NULL if there is not a file for a year in the input parameter vector "years".
This function returns a list with data frame per year which contains the corresponding columns "MONTH" and "year" with accidents
1 2 | yyyys <- c(2014, 2015)
fars_read_years( years = yyyys )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.