Description Usage Arguments Details Value Examples
Creates a tribble data frame containing MONTH
and count of observations
per month in a year's (specified with the years
argument) dataset.
1 | fars_summarize_years(years)
|
years |
An integer or character string giving the year for the filename |
If year
is not contained within the datasets (2013, 2014, or 2015),
the function will return a warning: "invalid year:"
.
This function returns tribble data frame with column names of MONTH
and specified years
. MONTH
are integers ranging from 1-12
indicating January to December. The specified years
column are integers
representing the number of observations in each month. As a side effect, this
function returns the data frame, unless coerced as an object.
1 2 | ## Not run: fars_summarize_years(2013)
## Not run: fars_summarize_years(2014)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.