Description Usage Value Note Examples
This function reads csv files for given years
, extracts the months, and counts them for each year.
1 | fars_summarize_years(years)
|
This function returns a tibble with the months in the first column and the counts for the different years in the remaining columns.
This functions throws a warning if a file for the given year does not exist.
1 2 3 4 5 | ## Not run:
setwd(system.file("extdata", package = "fars"))
fars_summarize_years(2013:2016)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.