Description Usage Arguments Value Examples
This function takes the years parameter. It reads multiple files, one at a time, for each year and returns a dataframe object with data for all years. It outputs a warning message if it cannot find a file for a year in the years parameter. It returns NULL. It uses functions: make_filename and fars_read.
1 | fars_read_years(years)
|
years |
Valid years as a vector (atomic or list) or an expression object. |
File data is read into a dataframe object by MONTH and year.
1 2 3 4 5 6 7 | ## Not run:
fars_read_years(list(2013, 2014, 2015))
fars_read_years(year=list(2013, 2014, 2015))
fars_read_years(list("2013", "2014", "2015"))
fars_read_years(year=list("2013", "2014", "2015"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.