knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of farsdata is to read the Fatality Analysis Reporting System data. This package is created as a part of assignment of JHU Software development course.
You can install the released version of farsdata from CRAN with:
install.packages("farsdata") # Or below code if above code unable install the package devtools::install_github('adeel1997/farsdata')
You can load the package and read the sample dataset.
library(farsdata) library(maps) fars_2013_file <- make_filename(2013) fars_2013 <- fars_read(fars_2013_file) dim(fars_2013) ## [1] 30202 50
The data in this package come from the National Highway Traffic Safety Administration (NHTSA) Fatality Analysis Reporting System (FARS) data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.