DatabaseConnector is part of HADES.
IntroductionThis R package provides function for connecting to various DBMSs. Together with the SqlRender
package, the main goal of DatabaseConnector
is to provide a uniform interface across database platforms: the same code should run and produce equivalent results, regardless of the database back end.
DBI
interface, with SQL statements automatically translated to the appropriate dialect.dbplyr
interface.connectionDetails <- createConnectionDetails(dbms="postgresql",
server="localhost",
user="root",
password="blah")
conn <- connect(connectionDetails)
querySql(conn,"SELECT COUNT(*) FROM person")
disconnect(conn)
Technology
DatabaseConnector is an R package using Javaâs JDBC drivers and other DBI drivers.
System RequirementsRunning the package requires R with the package rJava installed. Also requires Java 1.8 or higher.
InstallationSee the instructions here for configuring your R environment, including Java.
To install the latest stable version, install from CRAN:
install.packages("DatabaseConnector")
Download the database drivers as described here.
(Optionally) To use Windows Authentication for SQL Server, download the authentication DDL file as described here.
Documentation can be found on the package website.
PDF versions of the documentation are also available:
Read here how you can contribute to this package.
LicenseDatabaseConnector is licensed under Apache License 2.0. The JDBC drivers fall under their own respective licenses.
DevelopmentDatabaseConnector is being developed in R Studio.
Development statusStable. The code is actively being used in several projects.
AcknowledgementsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4