Description Usage Arguments Value Examples
View source: R/farsfunctions.R
This function will read in data for years provided in the year
argument by first creating filenames via make_filename
and then
using fars_read
to import fars data. If one of the elements of
year
does not resolve to an existing filename, a warning is provided
for the given year and the data for that year is (obviously) not included in
the output.
1 | fars_read_years(years)
|
years |
A vector of years associated with the data files desired. |
This function returns a list of tibble objects (class tbl, tbl_df).
See tibble-package
for tibble specifics.
1 2 3 | ## Not run: fars_read_years(2013:2014)
## Not run: fars_read_years(c(2013,2015))
## Not run: fars_read_years(c("2013","2014"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.