Learn R Programming

ecd (version 0.9.2.4)

ecd.read_csv_by_symbol: Read csv file of sample data

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

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

Examples

Run this code
# NOT RUN {
dji <- ecd.read_csv_by_symbol("dji")
spx <- ecd.read_csv_by_symbol("spxoption2")

# }

Run the code above in your browser using DataLab