Description Usage Arguments Value Examples
View source: R/fars_functions.R
The function an argument years
and builds a data fileneame out of it using make_filename
Uses dplyr::mutate
and dplyr::select
. A list with the same number of elements as years
is returned with the contents of the respective file in each element. If a file does not exist with the
name generated by make_filename
then a warning is issued and that position in the returned list is
NULL.
1 | fars_read_years(years)
|
years |
An list of interger values (or values that will cast to integer) repersenting years. |
This function returns a list of tibbles constructed from the data contained in the file for each year.
1 2 3 4 | ## Not run: #' fars_read_years(c(2013,2015)
fars_read_years(2014)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.