Description Usage Arguments Details Value Examples
Creates a tribble data frame containing MONTH
and year
of a
specified year's (specified with the year
argument) dataset.
1 | fars_read_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 year
. MONTH
are integers ranging from
1-12 indicating January to December. As a side effect, this function
returns the data frame, unless coerced as an object.
1 2 | ## Not run: fars_read_years(2013)
## Not run: fars_read_years(2014)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.