make_filename: Generate fars data file name.

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

It generates character strings (eg: "accident_2013.csv.bz2") for a given year (eg: 2013).

Usage

1

Arguments

year

a numeric value.

Value

It returns character strings eg: "accident_2013.csv.bz2".

Note

If the argument is not a number then it will return "accident_NA.csv.bz2" and a warning.

Examples

1

knkanna8/Kanna documentation built on May 20, 2019, 12:53 p.m.