fars_read: Read external csv file

Description Usage Arguments Value Warning Examples

View source: R/fars_read.r

Description

This function check the existence of the csv file and if it exists read it into a tibble. You need to specify the name of the file in the filename argument. The function looks for the file in the wd.

Usage

1
fars_read(filename)

Arguments

filename

A character string giving the path to the csv file.

Value

This function returns the csv file in tibble format.

Warning

This function check for the existence of the specified file. If the file doesn't exist it stops and throws an error.

Examples

1
## Not run: df <- fars_read("name_of_the_file.csv")

veronicavedovetto/fars documentation built on Dec. 18, 2019, 12:33 a.m.