Description Usage Arguments Value Examples
Download Treasury bill and bond yields from Bank of Canada website.
1 | download_yields(years_span = 10)
|
years_span |
A positive integer |
dt Data.table of yields for the last years_span
years
1 2 3 4 5 | # For the last year of bond yields data
download_yields(1)
# For the last 10 years of bond yields data
download_yields(10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.