fars_read: Load data from the "Highway Fatality Analysis Reporting...

Description Usage Arguments Details Value Examples

Description

This is a function that reads a data file from the "US National Highway Traffic Safety Administration's Fatality Analysis Reporting System"

Usage

1
fars_read(filename)

Arguments

filename

A character string giving the file name/path to load the data from. This can be a local file or url to remote file. More details can be found at read_csv.

Details

The file/path/url specified in filename must be accessable or a error is thrown.

Value

This function returns the contents of filename as a tbl_df

Examples

1
2
3
4
5
## Not run: 
fars_read("fars_data.zip")
fars_read("/home/user1/Download/fars_data.zip")

## End(Not run)

tcoopermont/fars documentation built on May 31, 2019, 7:29 a.m.