R Observatory
Search
install.packages("DatabaseConnector")
CRAN 30-day downloads, method
4,540+40.3% up on the 30 days before, the better direction
Test coverage, method
0%of lines run by tests

An R 'DataBase Interface' ('DBI') compatible interface to various database platforms ('PostgreSQL', 'Oracle', 'Microsoft SQL Server', 'Amazon Redshift', 'Microsoft Parallel Database Warehouse', 'IBM Netezza', 'Apache Impala', 'Google BigQuery', 'Snowflake', 'Spark', 'SQLite', and 'InterSystems ...

Full description

An R 'DataBase Interface' ('DBI') compatible interface to various database platforms ('PostgreSQL', 'Oracle', 'Microsoft SQL Server', 'Amazon Redshift', 'Microsoft Parallel Database Warehouse', 'IBM Netezza', 'Apache Impala', 'Google BigQuery', 'Snowflake', 'Spark', 'SQLite', and 'InterSystems IRIS'). Also includes support for fetching data as 'Andromeda' objects. Uses either 'Java Database Connectivity' ('JDBC') or other 'DBI' drivers to connect to databases.

Maintainer
Martijn Schuemie
Latest release
1 Oct 2026
First release
24 May 2018

Compare with another package

More details
Releases
32
Needs compilation
No
Needs R
>= 4.0.0
Config/roxygen2/version
8.1.0
Date
2026-10-01
SystemRequirements
Java (>= 8)
Task views (1)
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("DatabaseConnector")
APA
Schuemie, M., Amazon Inc., Microsoft Inc., Observational Health Data Science and Informatics, Oracle Inc., PostgreSQL Global Development Group, Black, A., & Suchard, M. (2026). DatabaseConnector: Connecting to Various Database Platforms (Version 8.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.DatabaseConnector
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 DatabaseConnector version 8.0.0 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-26, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    8.0.0
    Time taken
    137 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    8.0.0
    Time taken
    96 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    8.0.0
    Time taken
    101 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    8.0.0
    Time taken
    94 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    8.0.0
    Time taken
    185 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    8.0.0
    Time taken
    56 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    8.0.0
    Time taken
    130 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    8.0.0
    Time taken
    222 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    8.0.0
    Time taken
    133 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    8.0.0
    Time taken
    126 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    8.0.0
    Time taken
    41 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    8.0.0
    Time taken
    148 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    8.0.0
    Time taken
    186 s
  • 13 OK

Over time

No change since 7 Oct 2026

As a list (9)
ChangedWorst statusOKNotesWarningsErrors
7 Oct 2026OK13000
11 Jul 2026Note12100
9 Jun 2026OK13000
8 Jun 2026Error12001
6 Jun 2026OK13000
4 Jun 2026Note12100
6 Apr 2026OK14000
4 Apr 2026Error13001
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
4,642+41% up on the 30 days before, the better directionIt is the sum of 4 channels: CRAN, r2u, autoCRAN and c2d4u.

CRAN rank

1,640 of 26,529

CRAN

4,540 downloads in the last 30 days

Rank
1,640 of 26,529
Change
+40.3% up on the 30 days before, the better direction

It is in the total. Take it out

r2u

85 downloads in the last 30 days

Rank
2,508 of 30,526
Change
+227% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

15 downloads in the last 30 days

Rank
3,047 of 29,130
Change
+7.1% up on the 30 days before, the better direction

It is in the total. Take it out

c2d4u, no longer updated

2 downloads in the last 30 days

Rank
4,900 of 7,575
Change
−85.7% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
13
Dependent packages
18
Suggested by
5
Needs (13)
Installing it adds
41 packages, 24.6 MB of source
Of those, need compilation
24
Optional extras (19)
Dependent packages (18)
PackageTitleDownloads in 30 days
FeatureExtractionGenerating Features for a Cohort1,286
CommonDataModelOMOP CDM DDL and Documentation Generator1,143
CohortGeneratorCohort Generation for the OMOP Common Data Model912
DataQualityDashboardExecute and View Data Quality Checks on OMOP CDM Database880
ResultModelManagerResult Model Manager861
PatientLevelPredictionDevelop Clinical Prediction Models Using the Common Data Model732
CharacterizationImplement Descriptive Studies Using the Common Data Model697
AchillesAchilles Data Source Characterization662
CohortMethodComparative Cohort Method with Large Scale Propensity and Outcome Models563
SelfControlledCaseSeriesSelf-Controlled Case Series542
OhdsiReportGeneratorObservational Health Data Sciences and Informatics Report Generator390
SelfControlledCohortSelf-Controlled Cohort Population-Level Estimation362
CohortIncidenceCohort Incidence Analysis for the OMOP Common Data Model342
OhdsiShinyAppBuilderViewing Observational Health Data Sciences and Informatics Results via 'shiny' Modules335
OdysseusPathwayModuleCohort Pathway Analysis with Pre-Index Event Support278
OdysseusCharacterizationModuleHandy and Minimalistic Common Data Model Characterization269
OdysseusSurvivalModuleCohort-Based Single-Event Survival Utilities156
PheValuatorRapid Phenotype Evaluation17
Functions
141
Public exports
27
Lines of R code
5,461
Median complexity
2
Functions (141)
Size and composition

Lines by kind (11,603)

KindLinesShare
R code5,46147%
Tests1,15210%
Documentation4,47839%
Guides5124%

Lines by language

LanguageLinesShare
R6,61357%
Rd4,47839%
Vignettes5124%

Languages are counted from file extensions.

Files
133
R functions
141
Object systems
S3: 23 methods, S4: 6 classes, S4: 43 methods
Complexity
Median
2
Mean
4.39
Highest
59
Median lines per function
15
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
141
Calls
237
Unconnected
18
Groups
3
Growth (32 releases)
Total lines by release
4,878 on 24 May 201811,603 on 1 Oct 2026
Release changes

The tests ran and coverage was measured.

Lines run by tests
0%
Expressions run by tests
0%
Test cases
51
Exports named in tests
88.9%
Coverage by file (16)
Coverage run
Lines counted
2,714
Lines the tests ran
0
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat, tinytest
Test cases
51
Lines of tests
1,152
Test lines per line of code
0.21
Exports documented
100%
Arguments documented
89.3%
Return value documented
74.1%
Help pages with examples
23.2%
Examples run in checks
18.8%
Guides (3)
Other documentation
README
Yes, 399 words
Release notes file
Yes
Help pages
69
Lines of documentation
4,478
Earlier names (1)
  • Starschema Ltd.

OHDSI / databaseconnector on github.com

Stars
57no change on 30 days ago
Forks
96
Open issues
22
Last commit
1 Oct 2026
Activity
Commits
1,090
Open pull requests
4
Tagged releases
22
Latest tagged release
v8.0.0, 1 Oct 2026
Issues closed in
134 days (median)
Pull requests closed in
6 days (median)
Pull requests merged
76%
Created
3 Apr 2014
Licence file reads as
–
Development practices (10)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows
Governance and communityPR template
Docs sourcepkgdown
GitHub Pages site last deployed 2026-10-01
CoverageCoverage reporting
CRAN release processcran-comments.md, CRAN-SUBMISSION
Lint, format, editorRStudio project
Git structural.gitattributes

Method, repository practices

Across OHDSI

R releases
  • On CRAN
  • Release
VersionReleasedR
8.0.0 current1 Oct 20264.6.1
7.2.026 Jun 20264.6.1
7.1.09 Jan 20264.5.2
7.0.023 Sep 20254.5.1
6.4.030 Jan 20254.4.2
6.3.316 Jan 20254.4.2
6.3.211 Dec 20234.3.2
6.3.128 Nov 20234.3.2
Earlier versions (24)
VersionReleasedR
6.3.08 Nov 20234.3.2
6.2.47 Sep 20234.3.1
6.2.330 Jun 20234.3.1
6.2.223 Jun 20234.3.1
6.2.110 May 20234.3.0
6.2.013 Apr 20234.2.3
6.1.016 Mar 20234.2.3
6.0.030 Jan 20234.2.2
5.1.023 Sep 20224.2.1
5.0.428 Jun 20224.2.1
5.0.38 Jun 20224.2.0
5.0.211 Feb 20224.1.2
5.0.018 Nov 20214.1.2
4.0.215 Apr 20214.0.5
4.0.02 Mar 20214.0.4
3.0.06 Jun 20204.0.0
2.4.215 Jan 20203.6.2
2.4.118 Jul 20193.6.1
2.3.021 Feb 20193.5.2
2.2.125 Nov 20183.5.0
2.2.01 Oct 20183.5.0
2.1.421 Aug 20183.5.0
2.1.328 Jun 20183.5.0
2.1.224 May 20183.5.0
Release notes (8.0.0)

Changes:

Changing required Java version to 21. Most database platforms will still run using Java 8, but more and more JDBC drivers will need higher Java versions.

Updating Snowflake and DataBricks driver. DataBricks driver now requires Java >= 11.

Setting JDBC_QUERY_RESULT_FORMAT=JSON when connecting to Snowflake to avoid 'You must start Java with --add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED' error.