fars_read: Read csv file

Description Usage Arguments Value Examples

Description

This is a simple function that reads csv file. In case if file does not exist appropriate message will be shown.

Usage

1
fars_read(filename)

Arguments

filename

A character string giving the name of file to be read.

Value

This function returns a table created from csv file. Returned object has following classes:tbl_df, tbl, data.frame.

Examples

1
2
file <- system.file("extdata", "accident_2013.csv.bz2", package = "fars")
fars_read(file)

moonshine13/fars documentation built on May 23, 2019, 6:11 a.m.