Description Usage Arguments Value Note Examples
This function takes a vector of years as input and returns a list of tables containing the month and year variables from the FARS data tables. The years returned correspond to the years in the input vector.
1 | fars_read_years(years)
|
years |
a numeric vector of length >= 1 |
A list of tables
The function will throw an 'invalid year' error if it encounters any error.
1 2 3 4 5 | ## Not run:
fars_read_years(c(2000, 2002))
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.