fars_read: Read in data from the US National Highway Traffic Safety...

Description Usage Arguments Value Examples

Description

The function loads a CSV file defined by fars_read argument and returns a tibble. If the path is incorrect the function will end with an error.

Usage

1
fars_read(filename)

Arguments

filename

csv file containing data

Value

fars_read will search within the specified path for the filename provided. If the file exists, it will be imported and returned as a data frame tbl. If it does not exist an error message will be returned.

Examples

1
2
3
4
## Not run: 
accident_2013 <- fars_read("./data/accident_2013.csv.bz2")

## End(Not run)

xetaro/Farsdata-Project documentation built on May 27, 2019, 2:01 a.m.