Description Usage Arguments Details Value Depends on Examples
View source: R/fars_functions.R
This is a function that reads FARS data for one or more years
specified by years
argument and returnes a list of corresponding data frames
(one data frame by year)
1 | fars_read_years(years)
|
years |
numeric vector that specifies the years to read the data |
Each year in separate data frame in the same list
This function returns a list of data frames
mutate
and select
in the dplyr
package.
1 2 3 4 5 6 | ## Not run:
fars_read_years(c(2014, 2015))
fars_read_years(2013:2015)
fars_read_years(list(2013, 2014, 2015))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.