fars_read: Read fatal injuries data

Description Usage Arguments Value Examples

View source: R/fars_data.R

Description

This is a functions which reads a CSV file with data from the US National Highway Traffic Safety Administration's. The file needs to be located in your working directory.

Usage

1
fars_read(filename)

Arguments

filename

A character string defing the filename to be loaded

Value

A tibble object. If the filename does not excist an error returns.

Examples

1
2
fars_read("accident_2013.csv.bz2")
fars_read("accident_2014.csv.bz2")

FlorianHandke/coursera_building_r_packages documentation built on July 15, 2020, 12:54 a.m.