Description Usage Arguments Details Value Examples
Download individual mean survey data
1 | individualSPF(survey = "NGDP", variable = "NGDP1")
|
survey |
The survey you wish to download |
variable |
The variable name indicating the forecast horizon, e.g. "NGDP1" or "CPI2". |
This function downloads an individual survey
individual SPF returns an object of class "survey".
An object of class "survey" is a list containing the following components
survey |
The name of the survey |
type |
Type of the survey, i.e. mean, median, growth, or individual (see individualSPF) |
variable |
Name of the variable indicating the forecast horizon, e.g. "NGDP1", or "NGDP2", downloaded. If "all", all forecast horizons were downloaded |
series |
An object of the class ts containing the downloaded series |
1 2 3 4 5 | ## Not run:
# download the growth rate forecasts for the consumer price index
tmp <- downloadSPF(survey = "CPI", type = "growth")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.