Description Usage Arguments Value
View source: R/fars_functions.R
The function accepts a vector of years and returns a list of data frames with month and year columns based on data in "accident_<year>.csv.bz2 files.
1 | fars_read_years(years)
|
years |
A vector or list of years in numeric or integer format. |
Returns a list of tibbles with the same number of rows as the data in "accident_<year>.csv.bz2" files and two columns - month & year. Returns NULL and a warning if the file does not exist.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.