fars_read: Read fars data.

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

This function reads a .csv file and convert in to tbl data frame object. The main advantage to using a tbl_df over a regular data frame is the printing: tbl objects only print a few rows and all the columns that fit on one screen, describing the rest of it as text.

Usage

1
fars_read(filename)

Arguments

filename

name of a .csv file.

Value

It returns a tbl data frame object.

Note

If there is no such file then it will return "file <filename> does not exist".

Examples

1
2
3
4
## Not run: 
fars_read("/home/kanna/Desktop/COURSERA/data/accident_2013.csv.bz2")

## End(Not run)

knkanna8/Kanna documentation built on May 20, 2019, 12:53 p.m.