Package: ustyc 1.0.1

Matt Barry

ustyc: Fetch US Treasury yield curve data.

Forms a query to submit for US Treasury yield curve data, posting this query to the US Treasury web site's data feed service. By default the download includes data yield data for 12 products from January 1, 1990, some of which are NA during this span. The caller can pass parameters to limit the query to a certain year or year and month, but the full download is not especially large. The download data from the service is in XML format. The package's main function transforms that XML data into a numeric data frame with treasury product items (constant maturity yields for 12 kinds of bills, notes, and bonds) as columns and dates as row names. The function returns a list which includes an item for this data frame as well as query-related values for reference and the update date from the service.

Authors:Matt Barry <[email protected]>

ustyc_1.0.1.tar.gz
ustyc_1.0.1.zip(r-4.5)ustyc_1.0.1.zip(r-4.4)ustyc_1.0.1.zip(r-4.3)
ustyc_1.0.1.tgz(r-4.4-any)ustyc_1.0.1.tgz(r-4.3-any)
ustyc_1.0.1.tar.gz(r-4.5-noble)ustyc_1.0.1.tar.gz(r-4.4-noble)
ustyc_1.0.1.tgz(r-4.4-emscripten)ustyc_1.0.1.tgz(r-4.3-emscripten)
ustyc.pdf |ustyc.html
ustyc/json (API)

# Install 'ustyc' in R:
install.packages('ustyc', repos = c('https://mrbcuda.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mrbcuda/ustyc/issues

On CRAN:

1 exports 8 stars 1.39 score 4 dependencies 8 scripts 138 downloads

Last updated 4 years agofrom:5cd1aefb68. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 04 2024
R-4.5-winNOTESep 04 2024
R-4.5-linuxNOTESep 04 2024
R-4.4-winNOTESep 04 2024
R-4.4-macNOTESep 04 2024
R-4.3-winNOTESep 04 2024
R-4.3-macNOTESep 04 2024

Exports:getYieldCurve

Dependencies:curlplyrRcppXML