Description Usage Arguments Value Note Examples
View source: R/fars_functions.R
Extract the month from every accident in the data set
1 | fars_read_years(years)
|
years |
a numeric vector representing one or more years |
a list of data frames (a data frame for every year) with the month for every accident in the FARS data set data for each the selected years.
If one of the years used as input does not exist the function will throw a warning, but will read correctly for all the valid values. The invalid year will have a corresponding empty data frame in the output list.
1 2 3 4 | ## Not run:
fars_read_years(2013:2015)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.