fars_read: Load CSV file into a tibble

Description Usage Arguments Value Note Examples

Description

This function reads CSV file defined by filename, a main argument of the function, and returns a tibble (data.frame).

Usage

1
fars_read(filename)

Arguments

filename

A character string giving the path and name of the CSV file

Value

This function returns a tibble (data.frame) of the input file

Note

This function will give error if the file path is incorrect or file does not exist

Examples

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

androsova/fars documentation built on May 10, 2019, 11:44 a.m.