Skip to content

hoesler/dplyr-src-h2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dplyr-src-h2

Build Status

A dplyr extension which allows to use an H2 database as a data source.

Installation

Assuming devtools is installed, run:

devtools::install_github("hoesler/dplyr-src-h2")

Usage

# Use an H2 URL (http://h2database.com/html/features.html#database_url)
src <- src_h2("mem:")

# Use an H2Connection object
drv <- dbj.h2::driver(classpath = resolve(module('com.h2database:h2:1.3.176')))
src <- src_h2(dbConnect(drv, "mem:", "sa", ""))

# Create an H2 src with nycflights13 data (Used for tests, examples, ...)
src <- nycflights13_h2()

About

A dplyr extension to use a H2 database as a data source

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages