{"id":18413665,"url":"https://github.com/dylanjm/yieldr","last_synced_at":"2025-04-13T00:49:54.733Z","repository":{"id":70164330,"uuid":"163620258","full_name":"dylanjm/yieldr","owner":"dylanjm","description":"#rstats package that fetches treasury yield data from the US Treasury Department's website","archived":false,"fork":false,"pushed_at":"2019-01-13T22:42:15.000Z","size":2202,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T00:49:48.733Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dylanjm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-30T21:56:12.000Z","updated_at":"2019-01-13T22:42:16.000Z","dependencies_parsed_at":"2023-03-11T08:11:11.410Z","dependency_job_id":null,"html_url":"https://github.com/dylanjm/yieldr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanjm%2Fyieldr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanjm%2Fyieldr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanjm%2Fyieldr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanjm%2Fyieldr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dylanjm","download_url":"https://codeload.github.com/dylanjm/yieldr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650436,"owners_count":21139672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T03:47:13.975Z","updated_at":"2025-04-13T00:49:54.707Z","avatar_url":"https://github.com/dylanjm.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n# yieldr \u003cimg src=\"man/figures/hex_sticker.png\" align=\"right\" height=\"150\" width=\"125\"/\u003e\n\n[![Build\nStatus](https://travis-ci.com/dylanjm/yieldr.svg?branch=master)](https://travis-ci.com/dylanjm/yieldr)\n\u003c!-- ![Current CRAN Version](https://www.r-pkg.org/badges/version/bjscrapeR) --\u003e\n[![Project Status: Active – The project has reached a stable, usable\nstate and is being actively\ndeveloped.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)\n\u003c!-- ![Total Downloads](http://cranlogs.r-pkg.org/badges/grand-total/bjscrapeR) --\u003e\n\n## Installation\n\nYou can install yieldr from github with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"dylanjm/yieldr\")\n```\n\n## Basic Usage\n\nAs of right now, the package only comes with one function:\n`get_treasury_yields()`.\n\n``` r\nlibrary(yieldr)\nlibrary(dplyr)\nlibrary(gganimate)\nlibrary(ggplot2)\n\ntreasury_dat \u003c- get_treasury_yields(tidy = TRUE)\n\ntreasury_dat %\u003e% \n  filter(!duration %in% c(\"BC_1MONTH\", \n                          \"BC_2MONTH\", \n                          \"BC_30YEARDISPLAY\")) %\u003e% \n  ggplot(aes(x = duration, y = rate, group = NEW_DATE)) + \n  geom_line() + \n  scale_x_discrete(labels = c(\"3M\", \"6M\", \"1Y\", \"2Y\",\n                              \"3Y\", \"5Y\", \"7Y\", \"10Y\", \"20Y\", \"30Y\")) + \n  labs(title = \"Year: {frame_time}\") +                             \n  transition_time(NEW_DATE) \n```\n\n\u003cimg src=\"man/figures/README-example-1.gif\"/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdylanjm%2Fyieldr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdylanjm%2Fyieldr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdylanjm%2Fyieldr/lists"}