Description Usage Arguments Value Examples
View source: R/packageproject.R
This function takes in an integer vector and using the make_filename
function creates file names. Then using the fars_read
function
it searches if those files exist. If the files exist and are the correct
format then a dataframe is returned, otherwise a warning is returned. The
returned dataframe has two variables (Month and year). If multiple years
are provided, multiple dataframes are returned.
1 | fars_read_years(years)
|
years |
Integer(s). |
A dataframe with two variables (Month and year) or an error message.
1 2 | ## Not run: fars_read_years(2013)
## Not run: fars_read_years(2013:2015)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.