make_filename: Create a filename

Description Usage Arguments Value Note See Also Examples

View source: R/fars_functions.R

Description

This function will create a .csv filename with input year.

Usage

1

Arguments

year

an integer or string indicating the input year.

Value

This function will return the filname as a string format using the input year: accident_(year).csv.bz2"

Note

This function will only create a filename, to read in the file, use fars_read.

See Also

fars_read

Examples

1
make_filename(2013) ## output "accident_2013.csv.bz2"

mandyhee/farspkg documentation built on June 12, 2020, 6:03 p.m.