make_filename: Helper function to create a characterstring with the name of...

Description Usage Arguments Value Examples

View source: R/fars_functions_package0.1.R

Description

Helper function to create a characterstring with the name of a FARS datafile of specific year

Usage

1

Arguments

year

, the year of which you want to load the FARS data. Should be an integer. The function will try to coerce this to an integer

Value

returns a character string of the filename to be loaded, can be used together with the fars_read() function

Examples

1
2
3
4
5
## Not run: 
make_filename(year=2015)
make_filename(2015)

## End(Not run)

RedTent/farsfunctionsJT documentation built on May 29, 2019, 2:09 p.m.