Description Usage Arguments Value Examples
Creates a list of data.frames with month and year of accidents loaded from a collection of files from FARS.
1 | fars_read_years(years)
|
years |
vector of four digit years either as numbers or as character strings. The years must correspond to one file previously downloaded in the current working directory, otherwise the function returns NULL |
a list of data.frames. Each element of the list references an specific year and contains a log from accidents including only year and month information
1 2 3 4 5 | ## Not run:
fars_read_years(c(2013, 2014))
fars_read_years(c("2014"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.