{"id":46250030,"url":"https://github.com/steno-aarhus/osdc","last_synced_at":"2026-03-03T22:01:55.465Z","repository":{"id":154707732,"uuid":"568553679","full_name":"steno-aarhus/osdc","owner":"steno-aarhus","description":"Open-Source Diabetes Classifier: an R package to classify diabetes status in Danish registers ","archived":false,"fork":false,"pushed_at":"2026-02-27T15:03:43.000Z","size":12942,"stargazers_count":1,"open_issues_count":34,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-27T19:39:28.437Z","etag":null,"topics":["diabetes-classification","open-source","r-package","software","website"],"latest_commit_sha":null,"homepage":"https://steno-aarhus.github.io/osdc/","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/steno-aarhus.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":".github/CODEOWNERS","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-11-20T21:56:41.000Z","updated_at":"2026-02-27T14:54:55.000Z","dependencies_parsed_at":"2023-12-10T13:27:07.804Z","dependency_job_id":"8890d475-652e-4f7b-a5e0-31b0986b33ff","html_url":"https://github.com/steno-aarhus/osdc","commit_stats":null,"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"purl":"pkg:github/steno-aarhus/osdc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steno-aarhus%2Fosdc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steno-aarhus%2Fosdc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steno-aarhus%2Fosdc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steno-aarhus%2Fosdc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steno-aarhus","download_url":"https://codeload.github.com/steno-aarhus/osdc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steno-aarhus%2Fosdc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30063359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["diabetes-classification","open-source","r-package","software","website"],"created_at":"2026-03-03T22:01:54.932Z","updated_at":"2026-03-03T22:01:55.461Z","avatar_url":"https://github.com/steno-aarhus.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# osdc \u003ca href=\"https://steno-aarhus.github.io/osdc/\"\u003e\u003cimg src=\"man/figures/logo.png\" align=\"right\" height=\"100\"/\u003e\u003c/a\u003e\n\n\u003c!-- badges: start --\u003e\n\n[![R-CMD-check](https://github.com/steno-aarhus/osdc/actions/workflows/build.yaml/badge.svg)](https://github.com/steno-aarhus/osdc/actions/workflows/build.yaml)\n[![Lifecycle:\nexperimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)\n[![CRAN status](https://www.r-pkg.org/badges/version/osdc)](https://CRAN.R-project.org/package=osdc)\n[![GitHub\nRelease](https://img.shields.io/github/v/release/steno-aarhus/osdc.svg)](https://github.com/steno-aarhus/osdc/releases/latest)\n\n\u003c!-- badges: end --\u003e\n\n## Overview\n\nThe goal of osdc (Open Source Diabetes Classifier) is to expose an\nalgorithm for classifying diabetes within the Danish registers that can\nbe accessible as an R package. The algorithm that has been developed at\nSteno Diabetes Center Aarhus is flexible and convenient to use, and\nvalidated in terms of accuracy. While there are a few algorithms used\nthroughout Denmark for Danish register research, they are usually\ntextual descriptions of how to do it (e.g. the [Register of Selected\nChronic\nDiseases](https://sundhedsdatabank.dk/sygdomme/kroniske-sygdomme-og-svaere-psykiske-lidelser)),\nrather than source code-based descriptions.\n\nIn this project, we aim to make it easier and more explicit to classify\ntype 1 and type 2 diabetes within a Danish register context. The\noriginal implementation of the algorithm is validated in a peer-reviewed\npublication [here](https://doi.org/10.2147/clep.s407019), but minor\nchanges have been made to the algorithm since then, and we expect to\nmake additional tweaks to the algorithm over time. Any changes will be\ntransparent in the *osdc* repository.\n\n## Installation\n\nYou can install osdc from CRAN with:\n\n``` r\ninstall.packages(\"osdc\")\n```\n\nOr the development version from GitHub with:\n\n``` r\npak::pak(\"steno-aarhus/osdc\")\n```\n\nTo install all dependencies **for development only**, like simulating\nmore data or running the full test suite, use:\n\n``` r\npak::pak(\"steno-aarhus/osdc\", dependencies = \"all\")\n```\n\n**Note**: We use an automated release system with\n[Commitizen](https://commitizen-tools.github.io/commitizen/) and GitHub\nActions. This means that the latest version listed on GitHub will be\ndifferent from the latest version listed on CRAN. When we eventually\nupload the latest version on GitHub to CRAN, then they will be\nsynchronized again, but this happens less frequently compared to changes\nto the GitHub repository.\n\n## Development\n\nWhile developing the package, we use [`justfile`](https://just.systems/)\nto simplify our development workflow and make it explicit. The\n`justfile` contains commands that runs formatters, various checks like\nCRAN checks or spelling checks, tests, and builds the files for the\nwebsite (but doesn't publish it). We use it to ensure that we have a\nconsistent development workflow and that we do not forget to run any of\nthe important checks before committing our changes. For example, before\nwe make any pull request to contribute changes, we run the following\ncommand *in the Terminal* of the project directory:\n\n``` bash\njust run-all\n```\n\n## Code of Conduct\n\nPlease note that the osdc project is released with a [Contributor Code\nof\nConduct](https://contributor-covenant.org/version/2/1/CODE_OF_CONDUCT.html).\nBy contributing to this project, you agree to abide by its terms.\n\n## Citing the package\n\nIf you use this package, please cite it! Use `citation()` to generate a\ncitation.\n\n``` r\ncitation(\"osdc\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteno-aarhus%2Fosdc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteno-aarhus%2Fosdc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteno-aarhus%2Fosdc/lists"}