Description Usage Arguments Details Value Examples
This function reads a file for a specified year, uses the year to create a column name, selects the year and month columns, and converts the list into a single data frame in tibble format.
1 | fars_summarize_years(years)
|
years |
A vector specifying the year(s) (YYYY format). |
This function takes the year input, reads in the data using fars_read_years, and stores the resulting data frames into a list. It then combines those data frames into a single tibble, the number of cases there are of each.
This function returns a tibble for the data and selects the month and year columns.
1 2 | fars_read_years(2013)
fars_read_years(c(2014, 2015))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.