build_stocks.key: Create a new stocks.key data frame from *.STF files.

Description Usage Arguments Value Examples

Description

Create a new stocks.key data frame from *.STF files.

Usage

1
build_stocks.key(stocfile.names, overwriteRDA = FALSE)

Arguments

stocfile.names

A character vector of *.STF files.

overwriteRDA

A logical, with default FALSE. If set to TRUE the current stock_key.rda will be overwritten.

Value

A data frame of the stocks found in the *.STF files. If overwriteRDA is TRUE then the stocks_key.rda file is overwritten.

Examples

1
2
3
4
5
6
## Not run: 
path <- "."
stocfile.names <- list.files(path = path, pattern = "*.STF$", full.names = TRUE)
stocks.key <- build_stocks.key(stocfile.names)

## End(Not run)

MichaelFolkes/ctctools documentation built on May 7, 2019, 4:56 p.m.