my_read_csv: Read csv file and extract date column from filename

Description Usage Arguments Value Examples

View source: R/my_read_csv.R

Description

Read csv file whose filename is the date in YYYYMMDD format and add this date as a column in the returned data.frame.

Usage

1

Arguments

f

A YYYYMMDD.csv file

Value

A data.frame containing the information from the csv file as well as a date column from the filename itself.

Examples

1
2
3
4
## Not run: 
my_read_csv('20160416.csv')

## End(Not run)

jarad/mileageClub documentation built on May 18, 2019, 3:46 p.m.