Skip to content

R package to help connect and get data from the Erlich Lab db.

Notifications You must be signed in to change notification settings

erlichlab/el.db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Erlich Lab Database Utilities

This R package contains utilities for connecting to and fetching data from the Erlich Lab database.

To connect you need to have a file in your home directory called .dbconf with the following format

[client]
user = yourusername
passwd = yourpassword
host = thedatabase.nyu.edu

Of course, the contents should be changed to reflect the actual credentials and domain name of the database.

Once your .dbconf is setup, you should be able to do

library(devtools)
install_git("https://github.com/erlichlab/el.db.git")
library(el.db)
con = elConnect()
out = dbGetQuery(con, 'select * from met.animals limit 20')
head(out)

About

R package to help connect and get data from the Erlich Lab db.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages