make_filename: Create filename with a provided year

Description Usage Arguments Details Value Examples

Description

Create filename with a provided year

Usage

1

Arguments

year

year to add to the filename

Details

Create a filename with a provided year. E.g. if 2015 is provided then it will return "accident_2015_csv.bz2".

Value

Create a filename for the accident csv file based on a year.

Examples

1
2
3
WD <- setwd(system.file("extdata", package = "buildingpackagefars"))
make_filename(2015)
setwd(WD)

MarkPados/buildingpackagefars documentation built on May 10, 2019, 9:28 a.m.