Description Usage Arguments Value Note Examples
View source: R/fars_functions.R
Collects the MONTH and year associated with a fatal car incident for each year provided.
1 | fars_read_years(years)
|
years |
A vector of years which have an associated file in the current working directory. |
A list of data frames, each with two columns; MONTH and year. Each row in a data frame represent a fatal car accident in that month and year.
If one of the years specified doesn't have an associated file, and error will be thrown.
1 | ## Not run: years <- 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.