Description Usage Arguments Value Examples
View source: R/fars_functions.R
This function reads every accident file for which the year is provided as input and returns a list with the same length as the input vector. An error is thrown if one of the provided years does not have an accident file associated to it.
1 | fars_read_years(years)
|
years |
The years for which the accident data is to be read. |
A list of the data contained in files. Every element of the list contains the data of one year.
1 2 3 4 | ## Not run:
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.