fars_read: Import dataset

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This function can be used to import a dataset in .csv format. The file name needs to be provided via the filename argument.

Usage

1
fars_read(filename)

Arguments

filename

A character string giving the name of the input file

Value

This function returns a tibble (a data frame with class tbl_df. If the file does not exist, a message error is produced instead.

Examples

1
2
3
4
## Not run: 
fars_read("accident_2015")

## End(Not run)

naelvis/fars documentation built on July 27, 2020, 7:30 a.m.