Description Usage Arguments Value Note Examples
This function loads FARS data fiels for requested years, calculates observations per month in every year and returns the result in a tibble
1 | fars_summarize_years(years)
|
years |
a vector or a list with years |
a tibble with numbers of observations in months
The function will return an error if no valid year is given in the years parameter
1 2 3 4 5 6 | # full years range is covered in data
fars_summarize_years(2013:2015)
# no year is covered
fars_summarize_years(2011:2012)
# invalid years are removed
fars_summarize_years(2011:2014)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.