fars_read: read in a csv file as a tibble "data"

Description Usage Arguments Value Examples

View source: R/fars_read.R

Description

The fars_read function wraps the read_csv function. This function takes a file in csv format reads it and returns a tibble data frame if the file exists. Otherwise the error message filename does not exist will be displayed.

Usage

1
fars_read(filename)

Arguments

filename

Name of the csv file as a string.

Value

tibble data frame

Examples

1
fars_read("accident_2013.csv.bz2")

SivaVijaya/myfars documentation built on Dec. 18, 2021, 2:06 p.m.