Description Usage Arguments Value Examples
Download survey data
1 | downloadSPF(survey = "NGDP", type = "mean")
|
survey |
The survey you wish to download |
type |
The type you wish you to download, i.e. mean, median or annualized growth rates |
downloadSPF 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 |
sseries |
An object of the class ts containing the downloaded series |
1 | tmp <- downloadSPF(survey = "CPI", type = "growth")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.