load_files: Function to read csv files and load them as xts into selected...

Description Usage Arguments

Description

Function to load multiple csv files into the selected environment as xts objects. Object names are the file names, minus the '.csv' extension.

Usage

1
2
load_files(dir, fnames, index.col = "date", daterange = NULL,
  envir = globalenv(), delim = ",")

Arguments

dir

The directory in which the required files are stored (string)

index.col

Column name to be referenced for ordering xts object (string). Must be coercible to POSIXct.

daterange

The date range of resulting xts to be loaded (string).

envir

The environment in which to load the objects.

fname

name of file to be loaded (string)


T-Marty/trademartyr documentation built on May 31, 2019, 5:10 p.m.