Description Usage Arguments Details Value Examples
This function imports several years of data and retains from it only the month and year columns.
1 | fars_read_years(years)
|
years |
an integer vector specifying which years should be imported into R |
Internally, the function uses make_filename
function to
generate the filenames and then fars_read
function to import the data.
If the data for the specified year are not available, the function will create a
list entry with NULL value.
The function returns a list of tibbles. Each of the tibbles has only two columns, MONTH and year.
1 2 3 4 5 | ## Not run:
fars_read_years(c(2013, 2014))
fars_read_years(c(2013, 2017, 2014))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.