make_filename: Create filename of a compressed csv-file

Description Usage Arguments Value Examples

View source: R/make_filename.R

Description

The functions takes an input string that should specify the year and returns the filename of the accident data for the specified year.

Usage

1

Arguments

year

A numeric, integer, character or factor that should specify the year. If multiple filenames are to be provided, input needs to be provided as vector.

Value

A character string representing the filename of a compressed accident csv for the specified year.

Examples

1
2
3
4
## Not run: 
make_filename(2013)

## End(Not run)

olivenbert/mypkg documentation built on May 25, 2019, 2:21 p.m.