View source: R/interest-rate.R
tr_real_long_term | R Documentation |
The Long-Term Real Rate Average is the unweighted average of bid real yields on all outstanding TIPS with remaining maturities of more than 10 years and is intended as a proxy for long-term real rates.
tr_real_long_term(date = NULL)
date |
( |
A data.table::data.table()
containing the rates or NULL
when no entries were found.
https://home.treasury.gov/treasury-daily-interest-rate-xml-feed
Other interest rate:
tr_bill_rate()
,
tr_long_term_rate()
,
tr_real_yield_curve()
,
tr_yield_curve()
## Not run:
# get data for a single month
tr_real_long_term("202201")
# or for the entire year
tr_real_long_term(2022)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.