download_fred: Download time-series from FRED database

Description Usage Arguments Details Value Examples

View source: R/DownloadData.R

Description

Download time-series from FRED database

Usage

1
download_fred(ticker, try_mode = TRUE)

Arguments

ticker

string of time-series to download

try_mode

boolean to use try-error handling

Details

see https://fred.stlouisfed.org for more info

Value

xts containing dates and economic data

Examples

1
indust_prod <- download_fred('INDPRO')

alejandro-sotolongo/InvestR documentation built on Jan. 9, 2021, 2:20 p.m.