Read csv file of sample data

Share:

Description

This is a helper utility to read sample csv file into data frame. The main use for external users is to read the option data since it has a different format than other price timeseries data.

Usage

1
ecd.read_csv_by_symbol(symbol = "dji", extdata_dir = NULL)

Arguments

symbol

Character for the symbol of the time series. Default: dji

extdata_dir

optionally specify user's own extdata folder

Value

The data.frame object

Author(s)

Stephen H-T. Lihn

Examples

1
2
dji <- ecd.read_csv_by_symbol("dji")
spx <- ecd.read_csv_by_symbol("spxoption2")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.