knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
fars_read_years(c(2015,2016,2017))
fars_summarize_years(c(2015,2016,2017))
fars_map_state(state.num, year)
data(package="kmfars2")
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.