Description Usage Arguments Value Examples
View source: R/c_fars_functions.R
This function converts a numeric vector to a table containing months as rows and years as columns which provides the number of accidents from FARS data.
1 | fars_summarize_years(years)
|
years |
a vector containing the years for FARS data to be included in the output |
This function returns a tibble with 12 rows with a MONTH column and columns
for each year in years
for which there is a FARS data file for that year.
If there is no file for an element of years
then a warning is given for
that year.
1 | ## Not run: fars_read_years(c(2013,2015))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.