Description Usage Arguments Value Note Examples
This is a function that takes a year or a list of years in numeric format and generates a summary table that describes the number of observations in FARS datafiles for each month in each year.
1 | fars_summarize_years(years)
|
years |
a year in numeric format or a list of such years |
this function returns a table (tibble) with one column for each given year and up to twelve rows each representing a month.
if the list that is provided as an argument contains a year for which the dataset is unavailable, it will produce an error.
1 2 3 4 | ## Not run:
fars_summarize_years(2015)
fars_summarize_years(list(2013, 2014, 2015))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.