fars_read: Read a csv file into R

Description Usage Arguments Details Value Examples

Description

This is a a function that reads a csv file into R

Usage

1
fars_read(filename)

Arguments

filename

The filename to read in

Details

The function tests wether the file name exists in the current working directory and returns an error message if not. It also imports the read_csv function from package readr

Value

Thsi function returns a tibble

Examples

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

## End(Not run)

lefkiospaikousis/LPfars documentation built on June 7, 2019, 12:55 a.m.