fars_read: loads or "reads" in fars data

Description Usage Arguments Details Value Note Examples

Description

fars_read loads data from csv.

Usage

1
fars_read(filename)

Arguments

filename

The name of the file to be loaded.

Details

This function loads data from a comma separated file taken from the US National Highway Traffic Safetyc Administration's Fatality Analysis Reporting System (FARS).

Value

dataframe containing the selected file's data.

Note

If the file or permission to it does not exist, an error is produced.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
fars_read(filename = full_filename)

## End(Not run)

## Not run: 
fars_read(filename = 'filedoesnotexist')

## End(Not run)

Gregorypi/fars documentation built on May 23, 2019, 1:25 p.m.