https://github.com/HeardACat/dplyrNetezza
Netezza interface for dplyr
https://github.com/HeardACat/dplyrNetezza
Last synced: 3 months ago
JSON representation
Netezza interface for dplyr
- Host: GitHub
- URL: https://github.com/HeardACat/dplyrNetezza
- Owner: HeardACat
- License: other
- Created: 2014-11-13T11:56:05.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-23T02:35:22.000Z (over 10 years ago)
- Last Synced: 2025-01-31T17:19:59.889Z (4 months ago)
- Language: R
- Size: 145 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dplyrNetezza
An R package that provides a database interface to Netezza.
This package wraps Netezza JDBC driver and extends dplyr.
#Installation
Install via github:
```R
install.packages('devtools')
devtools::install_github('chappers/dplyrNetezza')
```#Usage
```R
library(RNetezza)# JDBC URL FORMAT: jdbc:netezza://:/
nzr <- src_JDBC(drv = NetezzaSQL(), url=url, user=user, password=password)# Caches data from Netezza
NZtable <- tbl(nzr, "NZtable")
```Normal `plyr` actions should then be able to take place.
n.b. the `NetezzaSQL()` function is as follows:
```R
NetezzaSQL<-function(){
return(JDBC(driverClass="org.netezza.Driver",
classPath=system.file("java", "nzjdbc.jar", package="RNetezzaServer"), "'"))
}
```#Credits
All credit goes to the projects below that inspired and make up parts of dplyrNetezza:
* [dplyrJDBC](https://github.com/jimhester/dplyrJDBC) and [dplyr.sqlserver](https://github.com/hs3180/dplyr.sqlserver): which served as the boilerplate for this project.
* [dplyr](https://github.com/hadley/dplyr): with which this project would otherwise not be possible.