fars_read: Read FARS file

Description Usage Arguments Details Value Examples

Description

fars_read Returns a data frame from a file.

Usage

1
fars_read(filename)

Arguments

filename

character vector of the name of a .csv file to load

Details

This function calls read_csv from the readr library to read in a csv file and uses tbl_df to convert the tibble to a data frame. frs_read() will fail if the file does not exist.

Value

Data frame containing the contents of the file named in filename

Examples

1
2
3
4
## Not run: 
fars_read("./my_csv_file.csv")

## End(Not run)

burch-cm/farsdata documentation built on May 13, 2019, 8:46 a.m.