fars_read: Reads a FARS accident table

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This function reads in a CSV file containing FARS accidents for a single year, and returns a dplyr tibble. The function 'stop's if the file does not exist.

Usage

1
fars_read(filename)

Arguments

filename

The filename to read

Value

A tibble containing the FARS accidents contained in the given file.

Examples

1
2
3
4
## Not run: 
fars_read(make_filename(2013))

## End(Not run)

wesen/coursera_fars documentation built on May 18, 2019, 4:52 p.m.