This is a test package to implement an R package building process based on devtools, Travis CI (continuous integration) and testthat unit testing.
The package implements data analysis functions to be applied to accident statistics from "Factors Behind Traffic Fatalities on our Roads" data files.
The package contains the following functions:
This reads a (possibly compressed) CSV data file and returns a data frame. This function should be used to load the FARS data files.
This constructs a file name for a given year.
Reads and combines data for multiple years into a list of data frames.
Summarize data read for multiple years by number of accidents per month.
Creates a map for the location of accidents within a state for a given year.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.