Description Usage Arguments Details Value Examples
For given list of years, load the FARS accidents dataset and return as a tibble (per year)
1 | fars_read_years(years)
|
years |
A list of years, format of each year must be corcible to a valid year by as.integer() function |
The function can malfunction in case the dataset for specified year is missing, or is given in wrong format
This function returns a list of tibbles, in each tibble month and year of each accident will be listed
1 2 3 | fars_read_years("2013")
fars_read_years(c(2013, 2014))
fars_read_years(c("2013", "2014", "2015"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.