knitr::opts_chunk$set(echo = TRUE)
Package fars - Analyse some data from US National Highway Traffic Safety Administration's Fatality Analysis Reporting System (NHTSF)
The "fars"
package is used to evaluate the reported accidents in the United States of America.
The following functions of the "fars" package are supported:
fars_read ()
fars_summarize_years ()
fars_map_state ()
There are further information in the vignette of the package fars and in the man.
More information and the data files can be found on the website of the NHTSF:
\url{https://www.nhtsa.gov/Data/Fatality-Analysis-Reporting-System-(FARS)}
The following packages are used:
Download csv files from Website of NHTSF:
The prerequisite for performing the evaluations is that the csv files ("accident_yyyy.csv.bz2") are downloaded with the accident data and are located in the current directory.
Website: https://www.nhtsa.gov/Data/Fatality-Analysis-Reporting-System-(FARS)
Any R user can install the package with just tree lines of code: * install.packages("devtools") * devtools::install_github("ap-wi/fars") * library("fars")
There are three functions in the package fars supported: * Reading a file using the function `fars_read(filename)` * Provision of a data frame using `fars_summarize_years(years)` * Creation of a plot using `fars_map_state(state.num, year)`
Fixed ap-wi/fars (master - comment 215cc33) [![Badge](https://url/ap-wi/fars/271393672/badge)] https://travis-ci.org/ap-wi/fars/builds/271393672
Standard Readme follows the Contributor Covenant Code of Conduct.
CC0 by cousera
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.