Skip to content

osdc

0.11.3

Open Source Diabetes Classifier for Danish Registers

1packages depend
4.2Kdownloads / year
98.2%test coverage
13/13checks pass

Overview

About
Maintained by Luke William JohnstonFirst published 2025-12-103 releasesCRAN page ↗GitHub ↗

The algorithm first identifies a population of individuals from Danish register data with any type of diabetes as individuals with two or more inclusion events. Then, it splits this population into individuals with either type 1 diabetes or type 2 diabetes by identifying individuals with type 1 diabetes and classifying the remainder of the diabetes population as having type 2 diabetes.

Install

Health

CRAN checks
13OK
Slowest check: 3.7 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.16
98.2%
Coverage · measured lines
100%
Documentation · exports
14
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-23
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-20
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 8 earlier snapshots
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-24
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-05-17
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-15
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-05-13
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-18
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-12
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 414 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

4.2K
CRAN downloads in the past year
Rank #6,199 · ~12/day · ~353/mo
Daily download trend is not available in this view yet.
24630 days
1.3K90 days
4.2K1 year
Compare downloads with other packages →
Also on71 r2u17 autocran

Repository

Repository
4Stars
2Forks
31Open issues
0Open PRs
66Releases
881Commits
6Contributors
softwarer-packagewebsitediabetes-classificationopen-source
881 commits · Last activity 2026-08-11 · 0% stars, 30d

Stars over time

2023-05-17 · 12026-07-07 · 4

Repository practices

Upstream repositoryBeta

10 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/steno-aarhus/osdc on 2026-08-09.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Research and citation (1)
CITATION.cff
Show all practices
Automation and maintenance (1)
pre-commit
Lint, format, editor (3)
AirVS CodeRStudio project
Governance and community (2)
PR templateCODEOWNERS
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
23 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.2.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (3)
Copyright holders (2)
Copyright holder
Listed in earlier versions (3)
no longer listed · 0.9.17 to 0.11.3
no longer listed · 0.9.17 to 0.11.3
no longer listed · 0.9.17 to 0.11.3
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.11.3Latest
    2026-06-04 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.9.19
    2026-01-12 · diff ↗
  • 0.9.17
    2025-12-10
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-12-10
Total releases
3 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.2.0
Download size
226 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("osdc")

The authors publish a CITATION.cff, so they have said how they want this cited. Run citation() and use what it gives you.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for osdc version 0.11.3 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy