make_filename: Creating a file name

Description Usage Arguments Details Value Note

View source: R/fars_project.R

Description

Creating a file name

Usage

1

Arguments

year

Year of interest which is numeric value.

Details

The function uses sprintf is a wrapper for the system sprintf C-library function. Attempts are made to check that the mode of the values passed match the format supplied, and R's special values (NA, Inf, -Inf and NaN) are handled correctly.

Value

Returns a character vector file name based on the selected year and a bz2 extendsion.

Note

The year will be formatted as an integer.


cowboy2718/FARS documentation built on May 17, 2019, 7:01 p.m.