Description Usage Arguments Value Examples
This function is used to iteratively read files relative to fatalities in a series of initially selected years, i.e. from different files referring to different years.
1 | fars_read_years(years)
|
years |
A list of years for which the observation needs to be extracted |
This function returns a list of data frames, one for each year of the argument list and containing the months and year for each observation. If one of the specified years is not present in the dataset an error message
1 | ## Not run: multi_years <- fars_read_years(list(2013, 2014, 2015))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.