Description Usage Arguments Value Note Examples
This is a function that reads a accident files for a vector of
a dplyr::tbl_df
with columns for the months and
given year of accidents in that year.
1 | fars_read_years(years)
|
years |
A vector of years for which to summarize accident months |
This function returns a list of tbl_df object for each year that each contain the months and year of accidents for that year
Calling this function with for a year that doesn't have an accident file
results in an "invalid year" warning for that year. This function is
typically called by the fars_summarize_years()
function and not
run on its own. Hence not exported.
1 | ## Not run: fars_read_years(c(2013,2014))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.