osdc: Open Source Diabetes Classifier for Danish Registers

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.

Version: 0.9.17
Depends: R (≥ 4.2.0)
Imports: checkmate, cli, codeCollection, dbplyr, dplyr, duckplyr, fabricatr, lifecycle, lubridate, purrr, rlang, rvest, stats, tidyselect, utils
Suggests: glue, knitr, quarto, rmarkdown, spelling, stringr, testthat (≥ 3.0.0), tidyr, tibble
Published: 2025-12-10
DOI: 10.32614/CRAN.package.osdc (may not be active yet)
Author: Signe Kirk Brødbæk ORCID iD [aut], Anders Aasted Isaksen ORCID iD [aut], Luke William Johnston ORCID iD [aut, cre], Steno Diabetes Center Aarhus [cph], Aarhus University [cph]
Maintainer: Luke William Johnston <lwjohnst at gmail.com>
BugReports: https://github.com/steno-aarhus/osdc/issues
License: MIT + file LICENSE
URL: https://github.com/steno-aarhus/osdc, https://steno-aarhus.github.io/osdc/
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: osdc results

Documentation:

Reference manual: osdc.html , osdc.pdf
Vignettes: Algorithm (source, R code)
Changes from original (source)
Data sources (source, R code)
Design (source, R code)
Internal function flow (source)
Getting started (source, R code)
Rationale (source)

Downloads:

Package source: osdc_0.9.17.tar.gz
Windows binaries: r-devel: osdc_0.9.17.zip, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): osdc_0.9.17.tgz, r-oldrel (arm64): osdc_0.9.17.tgz, r-release (x86_64): osdc_0.9.17.tgz, r-oldrel (x86_64): osdc_0.9.17.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=osdc to link to this page.