List of DBI backends.
Do you maintain a backend and think that yours should be on this list? Please open an issue in this repository.
âDBIâ Compliant Database Access Using âADBCâ
In order to make Arrow Database Connectivity (âADBCâ https://arrow.apache.org/adbc/) accessible from R, an interface compliant with the âDBIâ package is provided, using driver back-ends that are implemented in the âadbcdrivermanagerâ framework. This enables interacting with database systems using the Arrow data format, thereby offering an efficient alternative to âODBCâ for analytical applications.
Maintainer: Nicolas Bennett nicolas@cynkra.com. License: LGPL (>= 2.1)
AzureKusto 1.1.3 (2023-10-12) đ đ
Interface to âKustoâ/âAzure Data Explorerâ
An interface to âAzure Data Explorerâ, also known as âKustoâ, a fast, distributed data exploration service from Microsoft: https://azure.microsoft.com/en-us/products/data-explorer/. Includes âDBIâ and âdplyrâ interfaces, with the latter modelled after the âdbplyrâ package, whereby queries are translated from R into the native âKQLâ query language and executed lazily. On the admin side, the package extends the object framework provided by âAzureRMRâ to support creation and deletion of databases, and management of database principals. Part of the âAzureRâ family of packages.
Maintainer: Alex Kyllo jekyllo@microsoft.com. License: MIT + file LICENSE
An Interface to Googleâs âBigQueryâ âAPIâ
Easily talk to Googleâs âBigQueryâ database from R.
Maintainer: Hadley Wickham hadley@posit.co. License: MIT + file LICENSE
Client for the Comprehensive Knowledge Archive Network (âCKANâ) API
Client for âCKANâ API (https://ckan.org/). Includes interface to âCKANâ âAPIsâ for search, list, show for packages, organizations, and resources. In addition, provides an interface to the âdatastoreâ API.
Maintainer: Francisco Alves fjunior.alves.oliveira@gmail.com. License: MIT + file LICENSE
ClickHouseHTTP 0.3.3 (2024-04-18) đ
A Simple HTTP Database Interface to âClickHouseâ
âClickHouseâ (https://clickhouse.com/) is an open-source, high performance columnar OLAP (online analytical processing of queries) database management system for real-time analytics using SQL. This âDBIâ backend relies on the âClickHouseâ HTTP interface and support HTTPS protocol.
Maintainer: Patrice Godard patrice.godard@gmail.com. License: GPL-3
connections 0.2.0 (2023-12-18) đ đ
Integrates with the âRStudioâ Connections Pane and âpinsâ
Enables âDBIâ compliant packages to integrate with the âRStudioâ connections pane, and the âpinsâ package. It automates the display of schemata, tables, views, as well as the preview of the tableâs top 1000 records.
Maintainer: Edgar Ruiz edgar@posit.co. License: MIT + file LICENSE
DatabaseConnector 6.4.0 (2025-01-30) đ đ
Connecting to Various Database Platforms
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 schuemie@ohdsi.org. License: Apache License
DBI.RODBC 0.1-2
DBI front-end to RODBC
A simple DBI front-end to the RODBC package. This package uses version 4 style classes and methods to create a front-end to the existing RODBC (version 0.8-3) package.
Maintainer: David A. James dj@bell-labs.com. License: GPL (version 2 or later)
DBI.RPgSQL 0.1-2
DBI front-end to RPgSQL
A simple DBI front-end to the RPgSQL package. This package uses version 4 style classes and methods to create a front-end to the existing RPgSQL (version 1.0-0) package.
Maintainer: David A. James dj@bell-labs.com. License: GPL (version 2 or later)
A Test Environment for Database Requests
Testing and documenting code that communicates with remote databases can be painful. Although the interaction with R is usually relatively simple (e.g. data(frames) passed to and from a database), because they rely on a separate service and the data there, testing them can be difficult to set up, unsustainable in a continuous integration environment, or impossible without replicating an entire production cluster. This package addresses that by allowing you to make recordings from your database interactions and then play them back while testing (or in other contexts) all without needing to spin up or have access to the database your code would typically connect to.
Maintainer: Jonathan Keane jkeane@gmail.com. License: Apache License (>= 2.0)
DBI Package for the DuckDB Database Management System
The DuckDB project is an embedded analytical data management system with support for the Structured Query Language (SQL). This package includes all of DuckDB and an R Database Interface (DBI) connector.
Maintainer: Kirill MĂźller kirill@cynkra.com. License: MIT + file LICENSE
R Interface for Apache Impala
âSQLâ back-end to âdplyrâ for Apache Impala, the massively parallel processing query engine for Apache âHadoopâ. Impala enables low-latency âSQLâ queries on data stored in the âHadoopâ Distributed File System â(HDFS)â, Apache âHBaseâ, Apache âKuduâ, Amazon Simple Storage Service â(S3)â, Microsoft Azure Data Lake Store â(ADLS)â, and Dell âEMCâ âIsilonâ. See https://impala.apache.org for more information about Impala.
Maintainer: Ian Cook ianmcook@gmail.com. License: Apache License 2.0 | file LICENSE
Delayed Read for âGDALâ Vector Data Sources
Lazy read for drawings. A âdplyrâ back end for data sources supported by âGDALâ vector drivers, that allows working with local or remote sources as if they are in-memory data frames. Basic features works with any drawing format (âGDAL vector data sourceâ) supported by the âsfâ package.
Maintainer: Michael Sumner mdsumner@gmail.com. License: GPL-3
MonetDB.R 2.0.0 (2020-08-14)
Connect MonetDB to R
Allows to pull data from MonetDB into R.
Maintainer: Mitchell Weggemans mitchell.weggemans@monetdbsolutions.com. License: MPL (== 2.0)
MonetDBLite 0.6.0 (2018-07-27) đ
In-Process Version of âMonetDBâ
An in-process version of âMonetDBâ, a SQL database designed for analytical tasks. Similar to âSQLiteâ, the database runs entirely inside the âRâ shell.
Maintainer: Hannes MĂźhleisen hannes@cwi.nl. License: MPL (== 2.0)
Connect to âAWS Athenaâ using R âAWS SDKâ âpawsâ (âDBIâ Interface)
Designed to be compatible with the âRâ package âDBIâ (Database Interface) when connecting to Amazon Web Service (âAWSâ) Athena https://aws.amazon.com/athena/. To do this the âRâ âAWSâ Software Development Kit (âSDKâ) âpawsâ https://github.com/paws-r/paws is used as a driver.
Maintainer: Dyfan Jones dyfan.r.jones@gmail.com. License: MIT + file LICENSE
Connect to ODBC Compatible Databases (using the DBI Interface)
A DBI-compatible interface to ODBC databases.
Maintainer: Hadley Wickham hadley@posit.co. License: MIT + file LICENSE
Object Pooling
Enables the creation of object pools, which make it less computationally expensive to fetch a new object. Currently the only supported pooled objects are âDBIâ connections.
Maintainer: Hadley Wickham hadley@posit.co. License: MIT + file LICENSE
Connect to âAWS Athenaâ using âBoto3â (âDBIâ Interface)
Designed to be compatible with the R package âDBIâ (Database Interface) when connecting to Amazon Web Service (âAWSâ) Athena https://aws.amazon.com/athena/. To do this âPythonâ âBoto3â Software Development Kit (âSDKâ) https://boto3.amazonaws.com/v1/documentation/api/latest/index.html is used as a driver.
Maintainer: Dyfan Jones dyfan.r.jones@gmail.com. License: MIT + file LICENSE
RClickhouse 0.6.10 (2025-02-26) đ
âYandex Clickhouseâ Interface for R with Basic âdplyrâ Support
âYandex Clickhouseâ (https://clickhouse.com/) is a high-performance relational column-store database to enable big data exploration and âanalyticsâ scaling to petabytes of data. Methods are provided that enable working with âYandex Clickhouseâ databases via âDBIâ methods and using âdplyrâ/âdbplyrâ idioms.
Maintainer: Christian Hotz-Behofsits christian.hotz-behofsits@wu.ac.at. License: GPL-2
RH2 0.2.4 (2018-03-14)
DBI/RJDBC Interface to H2 Database
DBI/RJDBC interface to h2 database. h2 version 1.3.175 is included.
Maintainer: âDavid M. Kaplanâ dmkaplan2000@gmail.com. License: Mozilla Public License 1.1
RJDBC 0.2-10 (2022-03-24)
Provides Access to Databases Through the JDBC Interface
The RJDBC package is an implementation of Râs DBI interface using JDBC as a back-end. This allows R to connect to any DBMS that has a JDBC driver.
Maintainer: Simon Urbanek Simon.Urbanek@r-project.org. License: MIT + file LICENSE
Database Interface and MariaDB Driver
Implements a DBI-compliant interface to MariaDB (https://mariadb.org/) and MySQL (https://www.mysql.com/) databases.
Maintainer: Kirill MĂźller kirill@cynkra.com. License: MIT + file LICENSE
Database Interface and âMySQLâ Driver for R
Legacy âDBIâ interface to âMySQLâ / âMariaDBâ based on old code ported from S-PLUS. A modern âMySQLâ client written in âC++â is available from the âRMariaDBâ package.
Maintainer: Jeroen Ooms jeroenooms@gmail.com. License: GPL-2
Provides Access to Databases Through the ODBC Interface
An implementation of Râs DBI interface using ODBC package as a back-end. This allows R to connect to any DBMS that has a ODBC driver.
Maintainer: Nagi Teramo teramonagi@gmail.com. License: MIT + file LICENSE
ROracle 1.3-1.1 (2021-11-10)
OCI Based Oracle Database Interface for R
Oracle Database interface (DBI) driver for R. This is a DBI-compliant Oracle driver based on the OCI.
Maintainer: Rajendra S. Pingte rajendra.pingte@oracle.com. License: LGPL
C++ Interface to PostgreSQL
Fully DBI-compliant C++-backed interface to PostgreSQL https://www.postgresql.org/, an open-source relational database.
Maintainer: Kirill MĂźller kirill@cynkra.com. License: MIT + file LICENSE
RPostgreSQL 0.7-7 (2024-09-30) đ đ
R Interface to the âPostgreSQLâ Database System
Database interface and âPostgreSQLâ driver for âRâ. This package provides a Database Interface âDBIâ compliant driver for âRâ to access âPostgreSQLâ database systems. In order to build and install this package from source, âPostgreSQLâ itself must be present your system to provide âPostgreSQLâ functionality via its libraries and header files. These files are provided as âpostgresql-develâ package under some Linux distributions. On âmacOSâ and âMicrosoft Windowsâ system the attached âlibpqâ library source will be used.
Maintainer: Tomoaki Nishiyama tomoaki@sci.u-toyama.ac.jp. License: GPL-3 | file LICENSE
DBI Connector to Presto
Implements a âDBIâ compliant interface to Presto. Presto is an open source distributed SQL query engine for running interactive analytic queries against data sources of all sizes ranging from gigabytes to petabytes: https://prestodb.io/.
Maintainer: Jarod G.R. Meng jarodm@fb.com. License: BSD_3_clause + file LICENSE
R Interface to the âRedshiftâ Database
Superclasses âPostgreSQLâ connection to help enable full âdplyrâ functionality on âRedshiftâ.
Maintainer: Michael Treadwell michael.treadwell@interworks.com. License: GPL-2
SQLite Interface for R
Embeds the SQLite database engine in R and provides an interface compliant with the DBI package. The source for the SQLite engine and for various extensions in a recent version is included. System libraries will never be consulted because this package relies on static linking for the plugins it includes; this also ensures a consistent experience across all installations.
Maintainer: Kirill MĂźller kirill@cynkra.com. License: LGPL (>= 2.1)
RSQLServer 0.3.0 (2017-06-17) đ
SQL Server R Database Interface (DBI) and âdplyrâ SQL Backend
Utilises The âjTDSâ projectâs âJDBCâ 3.0 âSQL Serverâ driver to extend âDBIâ classes and methods. The package also implements a âSQLâ backend to the âdplyrâ package.
Maintainer: Imanuel Costigan i.costigan@me.com. License: GPL-2
Tools to Transform and Query Data with Apache Drill
Apache Drill is a low-latency distributed query engine designed to enable data exploration and analysis on both relational and non-relational data stores, scaling to petabytes of data. Methods are provided that enable working with Apache Drill instances via the REST API, DBI methods and using âdplyrâ/âdbplyrâ idioms. Helper functions are included to facilitate using official Drill Docker images/containers.
Maintainer: Bob Rudis bob@rud.is. License: MIT + file LICENSE
R Interface to Apache Spark
R interface to Apache Spark, a fast and general engine for big data processing, see https://spark.apache.org/. This package supports connecting to local and remote Apache Spark clusters, provides a âdplyrâ compatible back-end, and provides an interface to Sparkâs built-in machine learning algorithms.
Maintainer: Edgar Ruiz edgar@rstudio.com. License: Apache License 2.0 | file LICENSE
The list of all known DBI backends is provided as a set of static JSON files.
all <- httr::GET("https://r-dbi.github.io/backends/all.json")
httr::stop_for_status(all)
all_df <- httr::content(all, flatten = TRUE, simplifyVector = TRUE)
first_name <- all_df$name[[1]]
first_url <- paste0("https://r-dbi.github.io/backends/by-package/", first_name, ".json")
first <- httr::GET(first_url)
httr::stop_for_status(first)
httr::content(first)
#> $version
#> [1] "0.1.1"
#>
#> $title
#> [1] "'DBI' Compliant Database Access Using 'ADBC'"
#>
#> $description
#> [1] "In order to make Arrow Database Connectivity ('ADBC' <https://arrow.apache.org/adbc/>) accessible from R, an interface compliant with the 'DBI' package is provided, using driver back-ends that are implemented in the 'adbcdrivermanager' framework. This enables interacting with database systems using the Arrow data format, thereby offering an efficient alternative to 'ODBC' for analytical applications."
#>
#> $date
#> [1] "2024-01-25"
#>
#> $maintainer
#> [1] "Nicolas Bennett <nicolas@cynkra.com>"
#>
#> $license
#> [1] "LGPL (>= 2.1)"
#>
#> $url
#> $url[[1]]
#> [1] "https://adbi.r-dbi.org"
#>
#> $url[[2]]
#> [1] "https://github.com/r-dbi/adbi"
#>
#> $url[[3]]
#> [1] "https://arrow.apache.org/adbc/"
#>
#>
#> $bugs
#> [1] "https://github.com/r-dbi/adbi/issues"
The database is updated via script/prepare.R
which is run daily by
GitHub Actions. Existing packages are updated directly. For new or
removed packages, pull requests are opened.
Please note that the âbackendsâ project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.