Skip to content

Course project for Coursera's Building R Packages class

Notifications You must be signed in to change notification settings

alex23lemm/farsR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

farsR

Overview

Travis-CI Build Status

The goal of farsR 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.

Installation

You can install farsR from github with:

# install.packages("devtools")
devtools::install_github("alex23lemm/farsR")

Getting started

library(farsR)

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

Note: Both functions assume that the respective FARS data was downloaded before and that it resides in the current working directory.

To get started, read the farsR vignette (vignette("farsR-introduction")).

About

Course project for Coursera's Building R Packages class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages