make_filename: This is a function that generates datafile names for each...

Description Usage Arguments Value Examples

Description

This is a function that generates datafile names for each year, which can be specified with year argument. This function is used together with fars_read function.

Usage

1

Arguments

year

A character string that can be converted to an integer or an integer.

Value

A character string that is the file name for the data file for a specific year. The function will halt if the argument is not an integer or a character string that can be converted sucessfully to an integer.

Examples

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

## End(Not run)

KuanYang/fars documentation built on May 20, 2019, 7:54 a.m.