Description Usage Arguments Details Value Examples
fars_read_years()
reads several locally stored and compressed FARS report
files for the specified years into a list of tibbles.
1 | fars_read_years(years)
|
years |
Input vector or list specifying one or several years in character or integer format. |
Only the monthly and yearly information of each accident included in an
individual FARS report is stored in the respective tibble reducing each original
data set to two columns. fars_read_years()
expects to find the
report files in the current working directory.
A list of tibbles. Each tibble contains just two columns of the original
FARS data set (MONTH
and year
). Each row corresponds to a single accident.
1 2 3 4 5 6 | ## Not run:
fars2013 <- farsR:::fars_read_years(2013)
fars2013 <- farsR:::fars_read_years("2013")
fars1314 <- farsR:::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.