Description Usage Arguments Value Note Examples
View source: R/fars_functions.R
This function takes a vector of years, and for each year in the vector it uses make_filename(year)
to make a file name pattern
for the given year and fars_read(filename)
to read the file.
1 | fars_read_years(years)
|
years |
A vector of years. |
A list of dataframes for each year in the vector of years if that year exist, or it will return a NULL for invalid year.
This function will throw a warning if the entered year is invalid.
1 2 3 4 5 6 | ## Not run:
fars_read_years(c("2013", "2014"))
yearvector <- c("2013", "2014")
fars_read_years(yearvector)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.