Description Usage Arguments Value Note Examples
View source: R/fars_functions.R
This function takes a year or a vector of years as input and gives back a list containing the month of each record for each input year from the FARS data. In case there is no data set for a certain year, an error message will occur for that year's element in the output list.
1 | fars_read_years(years)
|
years |
A year or a vector of years for which you assume that FARS data is available, e.g. "2015", c(2014:2015), 2014:2016 |
This function returns a list containing the month of each record of the FARS data for each year provided to the function.
The function brings up a warning in case the data does not exist for the year provided to the function.
1 2 3 4 5 | ## Not run:
fars_read_years(2014)
fars_read_years(2014:2016)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.