fars_read: Read Fatality Analysis Reporting System data by the file name

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

This function reads a csv file of Fatality Analysis Reporting System data (using the filename argument) and returns a data.frame of the data.

Usage

1
fars_read(filename)

Arguments

filename

A character string of the name of a file to read.

Value

a data.frame of the data that is read in.

Note

Error occurs if the spcified file does not exist.

Examples

1
2
3
4
5
6
## Not run: 
librray(readr)
library(dplyr)
data <- fars_read("accident_2013.csv.bz2")

## End(Not run)

atibot/tobitar documentation built on May 28, 2019, 6:35 p.m.