Description Usage Arguments Value Examples
View source: R/fars_functions.R
This function takes years
as an input and automatically reads the corresponding data. Subsequently the month
and the year for the specified years
are returned as a list of tibbles.
1 | fars_read_years(years)
|
years |
A character- or numeric vector. It specifies the year for which one wants to read the data from. |
This function returns a list of tibbles containing the month- and the year columns for the specified data. In case the the file for a specific year does not exist,
the function will return NULL
and print a warning message.
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.