treasury: Client for US Treasury XML Feed and Published Data
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.6.0 |
| Depends: |
R (≥ 4.1.0) |
| Imports: |
curl, data.table (≥ 1.16.0), httr2 (≥ 1.0.0), xml2 |
| Suggests: |
ggplot2, knitr, readxl, scales, testthat (≥ 3.0.0) |
| Published: |
2026-07-11 |
| DOI: |
10.32614/CRAN.package.treasury |
| Author: |
Maximilian Mücke
[aut, cre] |
| Maintainer: |
Maximilian Mücke <muecke.maximilian at gmail.com> |
| BugReports: |
https://github.com/m-muecke/treasury/issues |
| License: |
MIT + file LICENSE |
| 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 form
https://CRAN.R-project.org/package=treasury
to link to this page.