Description Usage Arguments Value Note Examples
This function returns the MONTH and year data from each file from a list of input files corresponding to a list of years.
1 | fars_read_years(years)
|
years |
A integer for a single year or a vector of integers for a list of years. |
This function returns the MONTH and year data from a file for each year in the input list. The data is returned as a list where each list item is a tbl_df object containing MONTH and year data for one file.
This function returns an error if an invalid year is present in the input list. An invalid year is one where the filename for that year does not exist.
1 2 3 4 5 | ## Not run:
fars_read_years(2013)
fars_read_years(c(2013,2014))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.