knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
This package is built for the Peer Assignement of Building R Package Course on Coursera.
The goal of the package is to help you process and plot data downloaded from the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System about fatal injuries suffered in motor vehicle traffic crashes in the US.
You can install the development version of CourseraBuildingRPckg from GitHub with:
# install.packages("devtools") devtools::install_github("Capucine0210/CourseraProject")
There are two main functions to process and plot FARS data:
fars_summarize_years()
summarizes FARS report accidents by month and year in a tibble
fars_map_state()
plots all accident locations for a given year on a US federal state map
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.