Learn R Programming

treasury (version 0.2.0)

tr_real_long_term: Daily treasury real long-term rate averages

Description

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.

Usage

tr_real_long_term(date = NULL)

Value

A data.frame() containing the rates or NULL when no entries were found.

Arguments

date

character(1) or numeric(1) date in format yyyy or yyyymm. If NULL, all data is returned. Default NULL.

See Also

Other interest rate: tr_bill_rates(), tr_long_term_rate(), tr_real_yield_curve(), tr_yield_curve()

Examples

Run this code
# \donttest{
# get data for a single month
tr_real_long_term("202201")
# or for the entire year
tr_real_long_term(2022)
# }

Run the code above in your browser using DataLab