make_filename: Make file name from year

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

This function creates a file name of the specified year's Read Fatality Analysis Reporting System data.

Usage

1

Arguments

year

A numeric number repsresenting the year (e.g. 2013)

Value

A character string of the file name in the form of "accident_yyyy.csv.bz2"

Note

Validity of the year is not checked

Examples

1
2
3
4
## Not run: 
file <- make_filename(2013)

## End(Not run)

atibot/tobitar documentation built on May 28, 2019, 6:35 p.m.