fars_read: Read FARS data

Description Usage Arguments Value Author(s) Examples

View source: R/fars_functions.R

Description

This function reads in FARS from the given file path, if it exists.

Usage

1
fars_read(filename)

Arguments

filename

This is the path to the fars data.

Value

This function returns on object of class tbl_df (a 'tibble') containing the data, if the filepath exists. Errors out if given filepath does not exist.

Author(s)

Jesus Obregon Dominguez, gerencia@dataengineeringperu.com

Examples

1
2
3
4
5
6
## Not run: 
fars_read("data\\accident_2013.csv.bz2")
fars_read("data\\accident_2014.csv.bz2")
fars_read("data\\accident_2015.csv.bz2")

## End(Not run)

Jechu2/FARS documentation built on Dec. 31, 2020, 1:12 p.m.