Description Usage Arguments Value Examples
This function extract month and year data from each file and stores it in a tibble. It throws a warning for any year on which no data file is available.
1 | fars_read_years(years)
|
years |
an integer or numeric vector containing years. |
a list of tibbles that include data for each of the input years.
1 2 3 4 5 6 7 8 | ## Not run:
# this one return a one element list
fars_records_2013 <- fars_read_years(2013)
# this one return a two elements list and one warning as 2012 is not available
fars_2012_2014 <- fars_read_years(2012:2014)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.