jubilee.fred_data {jubilee} | R Documentation |
Internal utility to download time series data from FRED
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
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
## Not run:
jubilee.fred_data("VIXCLS") # VIX
## End(Not run)
[Package jubilee version 0.3.3 Index]