Skip to content

CommonDataModel

OMOP CDM DDL and Documentation Generator

v1.0.1 · Oct 1, 2024 · Apache License 2.0

Description

Generates the scripts required to create an Observational Medical Outcomes Partnership (OMOP) Common Data Model (CDM) database and associated documentation for supported database platforms. Leverages the 'SqlRender' package to convert the Data Definition Language (DDL) script written in parameterized Structured Query Language (SQL) to the other supported dialects.

Downloads

CRAN

777

Last 30 days

4248th

2.4K

Last 90 days

16K

Last year

Trend: +7.8% (30d vs prior 30d)

r2u CRAN

1

Last 30 days

39

Last 90 days

172

Last year

Trend: -95.2% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘DatabaseConnector’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 6, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 3, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Packages required but not available:
  'DatabaseConnector', 'SqlRender', 'rJava'

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

1,250

Files

160

Compiled share

0%

Has compiled src

No

Language breakdown

R 661 (52.9%)Tests 275 (22%)Docs 314 (25.1%)

API

Exported functions

14

Internal functions

2

Recent export changes

v0.2.0+14 buildRelease, buildReleaseZip, createDdl +11 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.42

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

100%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

Apache License 2.0

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2024-02-07

Latest release

2024-10-01

Avg cadence

237 days

Cold removal rate

Dep drift

0

LOC over versions

v0.2.0: 1,282 LOCv1.0.1: 1,250 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies DatabaseConnector SqlRender rJava rmarkdown stringr DBI dplyr readr Eunomia CommonDataModel

Version History

3 tracked
new 1.0.1 Mar 10, 2026
updated 1.0.1 ← 0.2.0 diff Sep 30, 2024
new 0.2.0 Feb 6, 2024