make_filename: Make File Name Function

Description Usage Arguments Value Note

View source: R/fars.R

Description

This function sets the file name for the data that was imported in the Fars Read function

Usage

1

Arguments

year

A numeric value specifying a year.

Value

The function returns a character string of the file name in the format of "accident_year.csv.bz2"

Note

The function will return an error if a non-numeric value is entered as the year


AESpe/FARS documentation built on April 29, 2020, 12:24 a.m.