Description Usage Arguments Value Note Examples
Takes a list or vector of years and returns a list of tibbles containing the MONTH column for corresponding fars files in the working directory with an appended year column.
1 | fars_read_years(years)
|
years |
A list or vector of numerics, integers or numeric/integer strings to read "accident_<year>.csv.bz2" files from the working directory. |
Returns a list of tibbles containing the MONTH Column of the read file and an appended year column.
If file does not exist for corresponding year a warning will be generated and NULL returned for that year
1 2 3 4 5 6 7 | ## Not run:
fars_read_years(2018)
fars_read_years('2018')
fars_read_years(c(2017, 2018))
fars_read_years(list(2017, 2018))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.