Description Usage Arguments Value Examples
View source: R/fars_functions.R
fars_read_years(years)
is a support function that creates list(s) of month-
year based on the parameters passed into the function. This function uses *make_filename*
function as well as mutate and select functions from the dplyr package.
1 | fars_read_years(years)
|
years |
Numerical values which can be a single or multiple years and this value must be supplied as four digit integer value. This parameter will be used to generate list(s) of month-year. Error will result if non-numerical parameter is passed into the function |
The function will return a list or lists of month-year (<int><dbl>).
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.