combine_files: Combine Data Files

View source: R/ib_hist_data.R

combine_filesR Documentation

Combine Data Files

Description

Combine files of downloaded price data

Usage

combine_files(directory, max.rows = -1, pattern = NULL,
              verbose = TRUE, prefix = "processed___",
              delete.processed = FALSE, actual.timestamp = FALSE,
              sep = ",", id.rx = "(.*)__[0-9]+__[0-9]+$")

Arguments

directory

string: where to read files

max.rows

numeric: maximum number of rows to put into a single file; currently ignored

pattern

string: passed to list.files

verbose

logical

prefix

character

delete.processed

logical

actual.timestamp

logical: if TRUE, use the actual min/max timestamp of the time-series in the name of the resulting file; if FALSE, use the min/max from the input filenames

sep

character: the column separator

Details

Read CSV files and combine them into one large file per symbol.

Value

a data.frame

Author(s)

Enrico Schumann

See Also

ib_hist_data

Examples

## TODO add examples

enricoschumann/IButils documentation built on Dec. 11, 2024, 3:03 p.m.