jubilee.fred_data: Internal utility to download time series data from FRED

Description Usage Arguments Value Examples

Description

This utility downloads time series from FRED. Many time series that this package uses are available on FRED. Therefore, this utility is used to provide daily or monthly updates by concatenating live data to the internal static data.

Usage

1
jubilee.fred_data(symbol, col_out = "Close", retry = 3)

Arguments

symbol

character, the name of the time series

col_out

character, the name of the output closing price column. Default is "Close"

retry

numeric, number of retries on the URL. Default is 3.

Value

The xts object for the time series

Examples

1
2
3
4
## Not run: 
   jubilee.fred_data("VIXCLS") # VIX

## End(Not run)

jubilee documentation built on Jan. 24, 2020, 5:10 p.m.