vinDates: Download vintage dates of Federal Reserve Economic Data -...

Description Usage Arguments Details Value References Examples

View source: R/getSymbols.ALFRED.R

Description

Downloads vintage dates of the published tail dates of 'Date Range' of the specified Symbol from 'research.stlouisfed.org'.

Usage

1
vinDates(Symbol, src = "ALFRED")

Arguments

Symbol

specifying the name of the symbol to be loaded

src

see R CRAN package quantmod function getSymbols

Details

Used internally by the function getSymbols.ALFRED

Note, this function does not use the official API. The official API usage can be performed using the R CRAN package alfred function get_alfred_series. In some cases, this function vinDates may be faster.

Value

character vector of 'Last Updated' vintage dates

References

Download Data for Gross Domestic Product (GDP) https://alfred.stlouisfed.org/series/downloaddata?seid=GDP

Download Data Help https://alfred.stlouisfed.org/help/downloaddata

Examples

1
2
3
4
5
6
7
8
## Not run: 
# Smoothed U.S. Recession Probabilities
# Source: Piger, Jeremy Max, Chauvet, Marcelle
# https://fred.stlouisfed.org/data/RECPROUSM156N.txt
#
vinDates("RECPROUSM156N")

## End(Not run)

AndreMikulec/econModel documentation built on June 30, 2021, 9:48 a.m.