fars_read: CSV File Reader.

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

Reads a csv file, given the filename.

Usage

1
fars_read(filename)

Arguments

filename

This should be a character value. If the file is in the present working directory, then the name of the file which is to be read, otherwise the full path to acces the file (with file name).

Value

The data present in the file.This is an object of class 'tbl_df'.

Note

Requires 'readr' and 'dplyr' packages to be loaded first.

Examples

1
2
3
## Considering your data is in the present working directory
mydata <- fars_read("accident_2013.csv.bz2")
str(mydata)

abhinav-piplani/Assignment1 documentation built on May 27, 2019, 7:39 a.m.