Description Usage Arguments Value Examples
Reads FARS data for the specified years and extracts a list containing a data frame for each year. The list of data frames is in a format suitable for internal use by the fars_summarize_years function.
1 | fars_read_years(years)
|
years |
Integer vector specifying year(s) to read. |
A list of data frames. Each data frame contains the variables year
and
MONTH
with a row for each fatal crash that occurred in that year and month.
1 | data_list <- fars_read_years(2013:2015)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.