make_filename: make_filename function

Description Usage Arguments Value Note Examples

Description

This function create a file name based on a given "year" that is part of the file name.

Usage

1

Arguments

year

= Is the year (integer) of the data that is part of the file name like "accident_2013d.csv.bz2"

Value

The make_filename function returns the name of the file with the "year" incorporated in the name of the file, like year=2013 to "accident_2013d.csv.bz2".

Note

You will need to save the data files in the working directory in order to avoid error.

Examples

1
2
3
4
5
6
## Not run: 
 >example1<-make_filename(2013)
 >example1
 >accident_2013d.csv.bz2
 
## End(Not run)

aalvaradob/Prueba1 documentation built on May 9, 2019, 12:52 p.m.