make_filename: Title make_filename

Description Usage Arguments Value Source Examples

Description

This helper function allows the user to create accident data files by year. bz2 files are compressed files, usually on UNIX, for machines that don't support the tar/tarball format

Usage

1

Arguments

year

A year as a string, with no restrictions on format

Value

a filename in the format 'accident_year.csv.bz2'. As a side effect, the filename is printed by the function.

Source

extdate/accident_year.csv.bz2

Examples

1
2
newFileName <- make_filename('2017')
## Not run: system.file("extdata", "accident_year.csv.bz2", package = "packFars")

drglcc/packFars documentation built on May 24, 2019, 4:01 a.m.