fars_read: Import Dataset - US NHTSA Fars Data (Fatality Analysis...

Description Usage Arguments Value Examples

Description

This function check the data is available in the specified directory and then imports it to global environment by read it in .CSV format.

Usage

1
fars_read(filename)

Arguments

filename

A character string specifying just the filename if it resides in current working directory, else, specifying the absolute path to the file.

Value

This function returns DataFrame tbl class for the dataset.This function stops executing if the file does not exits in the specified directory and throws error message "file <filename> does not exists".

Examples

1

mayankvanani/Farvis-R-package documentation built on May 31, 2019, 4:55 a.m.