make_filename: Make filename for FARS annual data

Description Usage Arguments Details Value Examples

View source: R/fars_functions.R

Description

This is a function that, generates specific filename needed to access the file of anual FARS data specified by year argument. Filemane generated by this function could be used by fars_read function.

Usage

1

Arguments

year

numeric vector that specifies the year for which the filename will be generated

Details

If used inside fars_read single number agrument recommended

Value

This function returns a character string

Examples

1
2
3
4
5
## Not run: 
make_filename(2014)
fars_read(make_filename(2014))

## End(Not run)

zpopovych/fars documentation built on May 20, 2019, 1:24 p.m.