src_netezza: Establishes a connection to Netezza and returns a dplyr 'src'...

Description Usage Arguments Value Examples

View source: R/src-netezza.R

Description

Establishes a connection to Netezza and returns a dplyr 'src' object, src_netezza, using RODBC.

Usage

1

Arguments

dsn

The name of the ODBC DSN to use for connecting to Netezza. Must be a string.

db

The name of the database if not in DSN definition (optional)

uid

The name of the user if not in DSN definition (optional)

pwd

The password if not in DSN definition (optional)

Value

A dplyr::src object, dplyr::src_sql, src_netezza, to be used with dplyr functions.

Examples

1
2
3
4
5
## Not run: 
netezza_connection <- src_netezza(dsn="NetezzaDSN")
table <- tbl(netezza_connection, 'TABLE_NAME')

## End(Not run)

philippechataignon/dplyrnz documentation built on Oct. 5, 2017, 5:26 a.m.