jubilee.repo {jubilee} | R Documentation |
Constructor of jubilee.repo
class
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
jubilee.repo(online = TRUE, force = TRUE)
Arguments
online |
logical, indicating whether to fetch data from online resource or not. Default is |
force |
logical, if FALSE, allowed to retrieve previous object stored in option.
The FALSE setting overrides the online=TRUE setting. Default is |
Value
An object of jubilee.repo
class
Author(s)
Stephen H. Lihn
Examples
## Not run:
repo <- jubilee.repo(online=FALSE)
dtb <- repo@ie
tail(dtb,1)
## End(Not run)
[Package jubilee version 0.3.3 Index]