ldhmm.fred_data {ldhmm} | R Documentation |
Utility to download time series from FRED
Description
This utility downloads time series from FRED. It serves as a data source for daily data, e.g. SP500 for S&P 500, and VIXCLS for CBOE VIX index. This can be concatenated to the static data to provide daily updates.
Usage
ldhmm.fred_data(symbol, col_out = "Close", do.logr = TRUE)
Arguments
symbol |
character, the name of the time series |
col_out |
character, the name of the output closing price column. Default: "Close" |
do.logr |
logical, if |
Value
The xts object for the time series
Examples
## Not run:
ldhmm.fred_data("VIXCLS")
## End(Not run)
[Package ldhmm version 0.6.1 Index]