Description Usage Arguments Details Value Note Examples
fars_read_years is used to create a datafrane of selected year from FARS dataset
1 | fars_read_years(years)
|
years |
A character or integer vector of years |
The function creates a dataframe of Month and year from the FARS base dataset
This function returns a dataframe.
Error message:If an incorrect year integer or string is entered then an error is thrown
1 2 3 4 5 | ## Not run:
fars_read_years(2013)
fars_read_years(c(2013,2014))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.