Description Usage Arguments Value Examples
Get yield curve data on given date (data source: Bank of Canada).
1 | get_ycurve(date, yield_dt)
|
date |
Date(s) on which to retrieve yield data |
yield_dt |
Data.table of historical yields |
dt Data.table of yields on the given date
.
1 2 3 4 | # Get yield curve data for today
yield_dt <- download_yields(1)
date_today <- lubridate::today()
get_ycurve( date = date_today, yield_dt = yield_dt )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.