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

Description Usage Arguments Value Examples

View source: R/fars.R

Description

this is a simple function that firstly find the datafile's name in the current content, if there is not such the file, the function would return "file dose not exist", if there is the file, the function would read in the data and make it a tibble table.

Usage

1
fars_read(filename)

Arguments

filename

A character string giving the data file's physical name

Value

this function returns a tibble data with column number and row number and a dataset named "data", it also returns "file filename does not exist".

Examples

1
## Not run: fars_read("accident_2013.csv.bz2")

Beryli-122/fars_package documentation built on July 13, 2020, 12:01 a.m.