{"id":15801062,"url":"https://github.com/sempwn/bennu","last_synced_at":"2026-02-26T10:24:18.360Z","repository":{"id":64751856,"uuid":"577540070","full_name":"sempwn/bennu","owner":"sempwn","description":"Bayesian Estimation of Naloxone Numbers Underreporting","archived":false,"fork":false,"pushed_at":"2025-10-14T18:48:47.000Z","size":28283,"stargazers_count":3,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-27T06:17:32.664Z","etag":null,"topics":["bayesian-data-analysis","naloxone","r","r-package","rstats","stan"],"latest_commit_sha":null,"homepage":"https://sempwn.github.io/bennu/","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/sempwn.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-12-13T00:48:07.000Z","updated_at":"2025-10-08T21:55:28.000Z","dependencies_parsed_at":"2023-02-18T01:31:24.989Z","dependency_job_id":"4d57bd19-594a-4640-b63d-de1e8c3e576e","html_url":"https://github.com/sempwn/bennu","commit_stats":{"total_commits":86,"total_committers":4,"mean_commits":21.5,"dds":0.05813953488372092,"last_synced_commit":"8b7fd8aea89ee8a73e670f0dbdaca969f0fc0c58"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sempwn/bennu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sempwn%2Fbennu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sempwn%2Fbennu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sempwn%2Fbennu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sempwn%2Fbennu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sempwn","download_url":"https://codeload.github.com/sempwn/bennu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sempwn%2Fbennu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29856474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T08:51:08.701Z","status":"ssl_error","status_checked_at":"2026-02-26T08:50:19.607Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bayesian-data-analysis","naloxone","r","r-package","rstats","stan"],"created_at":"2024-10-05T01:09:21.583Z","updated_at":"2026-02-26T10:24:18.323Z","avatar_url":"https://github.com/sempwn.png","language":"R","readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# bennu \u003cimg src=\"man/figures/logo.png\" align=\"right\" height=\"139\" /\u003e\n\n**B**ayesian **E**stimation of **N**aloxone **N**umbers **U**nderreporting (**BENNU**)\n\n*The package name comes from the Welsh word for \"to finish\" (pronounced benn-y)*\n\n  \u003c!-- badges: start --\u003e\n  [![R-CMD-check](https://github.com/sempwn/bennu/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/sempwn/bennu/actions/workflows/R-CMD-check.yaml)\n   [![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)\n     [![Codecov test coverage](https://codecov.io/gh/sempwn/bennu/branch/main/graph/badge.svg)](https://app.codecov.io/gh/sempwn/bennu?branch=main)\n   ![GitHub](https://img.shields.io/github/license/sempwn/bennu?style=plastic)\n  \u003c!-- badges: end --\u003e\n\n\nAn R package 📦 for generating estimates of total naloxone kit numbers distributed and used from naloxone kit orders data.\n\n## Installation\n\nYou can install the released version of bennu from [CRAN](https://CRAN.R-project.org) with:\n\n``` r\ninstall.packages(\"bennu\")\n```\n\nAnd the development version from [GitHub](https://github.com/) with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"sempwn/bennu\")\n```\n## Example\n\nThis example runs output for test data generated by the package:\n\n```{r example, warning=FALSE}\nlibrary(bennu)\nlibrary(rstan)\nlibrary(bayesplot)\n\nrstan_options(auto_write = TRUE)\noptions(mc.cores = parallel::detectCores(logical = FALSE))\n\n## basic example code\nd \u003c- generate_model_data()\n# note iter should be at least 2000 to generate a reasonable posterior sample\nfit \u003c- est_naloxone(d,iter=500)\nmcmc_pairs(fit, pars = c(\"sigma\",\"mu0\",\"zeta\"),\n           off_diag_args = list(size = 1, alpha = 0.5))\n```\n\nAn overall summary of the model output can also be provided as a data frame\n\n```{r, warning=FALSE}\nkit_summary_table(fit, data = d)\n```\n\n## Getting help\n\nIf you encounter a clear bug, please file an issue with a minimal reproducible example on [GitHub](https://github.com/sempwn/bennu/issues). \n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsempwn%2Fbennu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsempwn%2Fbennu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsempwn%2Fbennu/lists"}