Description Usage Arguments Details Value Examples
This function accepts one or more years as a list, calls the function make_filename() with each of the years, and then populates those files with data associated with that specific year from the main data set
1 | fars_read_years(years)
|
years |
one or more years as an atomic value or a list |
An error will be thrown and the function will be halted if the year is invalid
Uses make_filename(year) fars_read(file)
Creates one or more datasets based on year number. Returns NULL if there is an error
1 2 3 4 5 6 | ## Not run:
fars_read_years(1999)
fars_read_years(as.list(1999, 2000, 2001))
fars_read_years(1999:2016)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.