fars_read: Read csv file of FARS data

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

Read FARS data file of csv format and return tbl_df. If there is no file, error message comes up

Usage

1
fars_read(filename)

Arguments

filename

A charactor string with the name of the file to read

Value

a data frame with data readed from the csv file, or an error if the file does not exists.

Examples

1
2
3
4
## Not run: yr <- 2015
file <- make_filename(yr)
fars_read(file)
## End(Not run)

YohkoTomota/Fars documentation built on Aug. 1, 2020, 10:45 p.m.