Konstantin Mingoulin
You CANNOT install the released version of kmfars2 from CRAN with:
install.packages("kmfars2")
This is a basic example which shows you how to solve a common problem:
library(kmfars2)
df2<-fars_summarize_years(c(2014,2015,2016))
The package contains external data that can be used for testing. The data can be accessed by using the following code:
system.file("extdata", "accident_2013.csv.bz2", package = "kmfars2")
system.file("extdata", "accident_2014.csv.bz2", package = "kmfars2")
system.file("extdata", "accident_2015.csv.bz2", package = "kmfars2")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.