make_filename: Create the File name you want to load.

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This is a simple function that create the file name of the year you chose.

Usage

1

Arguments

year

A number of the year (one of 2013-2015) you want to load.

Value

This function returns a filename for fars_read function to read.

Examples

1
2
3
4
## Not run: filename=make_filename(2013)
## Not run:  print(filename)
## Not run: df=fars_read(filename)
## Not run: head(df)

Guan-Pujun/fars documentation built on Aug. 10, 2020, 12:43 a.m.