jubilee.repo: Constructor of 'jubilee.repo' class

Description Usage Arguments Value Author(s) Examples

Description

Construct a jubilee.repo class by combining data from that of Robert Shiller since 1871, historical stock market data from 1802 to 1987 by William Schwert, 3-month Treasury bill rate, gold price, and several other economic time series from FRED. Optionally, this function can fetch more recent data from the website of Robert Shiller and Federal Reserve FRED website if the R session has connection to the internet.

Usage

1
jubilee.repo(online = TRUE, force = TRUE)

Arguments

online

logical, indicating whether to fetch data from online resource or not. Default is TRUE.

force

logical, if FALSE, allowed to retrieve previous object stored in option. The FALSE setting overrides the online=TRUE setting. Default is TRUE.

Value

An object of jubilee.repo class

Author(s)

Stephen H. Lihn

Examples

1
2
3
4
5
6
## Not run: 
  repo <- jubilee.repo(online=FALSE)
  dtb <- repo@ie
  tail(dtb,1)

## End(Not run)

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