fars_read: Title A simple function for reading files or path from the...

Description Usage Arguments Value Examples

View source: R/fars_function.R

Description

Title A simple function for reading files or path from the system into the package

Usage

1
fars_read(filename)

Arguments

filename

A character string containing the name of the file or path to be read. An errors occurs if filename does not exist

Value

A dataframe from as_tibble

Examples

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

Theo025/fars documentation built on Aug. 15, 2020, 7 a.m.