Description Usage Arguments Details Value Examples
Function to generate a table of months available for a list of years.
1 | fars_read_years(years)
|
years |
integer |
Will produce errors if data file for a particular year is not available.
A list of Months and Years.
1 2 3 4 5 6 7 8 | library(dplyr)
library(readr)
library(tidyr)
f13path <- system.file("extdata", "accident_2013.csv.bz2", package = "farsfuncs")
f14path <- system.file("extdata", "accident_2014.csv.bz2", package = "farsfuncs")
f15path <- system.file("extdata", "accident_2015.csv.bz2", package = "farsfuncs")
file.copy(from=c(f13path,f14path,f15path),to=getwd())
fars_read_years(c(2013,2014,2015))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.