make_filename: Make filenames for Fatality Analysis Reporting System

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

The function make_filename generates filenames for the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System corresponding to a specific year.

Usage

1

Arguments

year

A year as an integer.

Value

A filename for the Fatality Analysis Reporting System corresponding to the specific year in the format "accident_<year>.csv.bz2". If type of year is not correct, an error message is generated and nothing is returned.

Examples

1

kfull/fars documentation built on May 28, 2019, 8:45 a.m.