Learn R Programming

treasury (version 0.4.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.table::data.table() containing the rates or NULL when no entries were found.

Arguments

date

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

See Also

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

Examples

Run this code
if (FALSE) {
# 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