Description Usage Arguments Value Note Examples
Download data from FRED, using quantmod or fredr
1 | getFred(fred_series, date_ym = T, quantmod = T, fredr = F)
|
fred_series: |
a string representing a series from FRED |
date_ym: |
boolean, if TRUE creates a monthly date variable a la French |
quantmod: |
if TRUE downloads FRED through the quantmod package |
fredr: |
if TRUE downloads FRED through the fredr package |
dt: a data.table
The download method through quantmod (default) or fredr are mutually exlcusive. For now quantmod is more up to date given FRED move to secure download
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.