make_filename: make_filename creates the file name for the called year

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

make_filename creates the file name for the called year

Usage

1

Arguments

year

The argument of the funtion is a string or an integer with the year

Value

The function Prints sprintf("accident_

Note

the argument gets converted into an integer number and will then be used in the name which will be printed.

Examples

1
2
3
 library(farsHK)
 make_filename(2013)
  returns "accident_2013.csv.bz2"

Sensalis/farsHK documentation built on Oct. 30, 2019, 11:51 p.m.