knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

Submission

Build Status

This package is published as part of the Building an R Package coursera course.

Installation

You can install the released version of Submission from CRAN with:

install.packages("Submission")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("larkinj/Submission")

Example

Package Details

The Fatality Analysis Reporting System (FARS) is a nationwide census prepared by the US National Highway Traffic Safety Administration. It provides the American public yearly data regarding fatal injuries suffered in motor vehicle traffic crashes.

This package helps to use FARS data in your analysis. Filenames can be created programmatically using the make_filename function:

library(Submission)
farsFile <- file.path(".","inst","extdata",make_filename(2013))

To load a FAR file use the far_read function:

head(fars_read(farsFile))


larkinj/Submission documentation built on Dec. 21, 2021, 8:50 a.m.