tr_real_long_term {treasury}R Documentation

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)

Arguments

date

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

Value

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

Source

https://home.treasury.gov/treasury-daily-interest-rate-xml-feed

See Also

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

Examples


# get data for a single month
tr_real_long_term("202201")
# or for the entire year
tr_real_long_term(2022)


[Package treasury version 0.2.0 Index]