https://home.treasury.gov/treasury-daily-interest-rate-xml-feed>, this package serves as a wrapper, facilitating the retrieval of daily treasury rates across various categories, including par yield curves, treasury bills, long-term rates, and real yield curves.">

treasury: Client for US Treasury XML Feed and Published Data (original) (raw)

Download daily interest rates from the US Treasury XML feed. Leveraging <https://home.treasury.gov/treasury-daily-interest-rate-xml-feed>, this package serves as a wrapper, facilitating the retrieval of daily treasury rates across various categories, including par yield curves, treasury bills, long-term rates, and real yield curves.

Version: 0.4.0
Depends: R (≥ 4.1.0)
Imports: curl, data.table (≥ 1.16.0), httr2 (≥ 1.0.0), xml2
Suggests: ggplot2, readxl, scales, testthat (≥ 3.0.0)
Published: 2025-08-26
DOI: 10.32614/CRAN.package.treasury
Author: Maximilian Mücke ORCID iD [aut, cre]
Maintainer: Maximilian Mücke <muecke.maximilian at gmail.com>
BugReports: https://github.com/m-muecke/treasury/issues
License: MIT + file
URL: https://m-muecke.github.io/treasury/,https://github.com/m-muecke/treasury
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: treasury results

Documentation:

Downloads:

Reverse dependencies:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=treasuryto link to this page.