knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
This package and the functions in it, use data from US National Highway Traffic Safety Administration's Fatality Analysis Reporting System. The purpose is to illustrate the correctness of the documentation and creation of a package. The purpose of the functions itself, is to show the accidents per state per country for each year, where each year corresponds to a separate dataset. For more details see the vignette of the package.
You can install coursera from github with:
# install.packages("devtools") devtools::install_github("alex2905/coursera")
library(coursera) fars_map_state(1,2013)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.