redshift.tables: List available Tables

Description Usage Arguments Value Author(s) See Also Examples

Description

Lists the names of the tables available in the Redshift database

Usage

1
redshift.tables(conn, schema='public')

Arguments

conn

RJDBC connection created with redshift.connect

schema

The schema name

Value

Data frame containing the names of the tables.

Author(s)

Paul Ingles

See Also

redshift.connect

Examples

1
2
3
4
require(redshift)
# conn <- redshift.connect("jdbc:postgresql://blah.blah.eu-west-1.redshift.amazonaws.com:5439/data", "username", "password")
# tables <- redshift.tables(conn)
# tables2 <- redshift.tables(conn, schema='test')

pingles/redshift-r documentation built on May 25, 2019, 7:13 a.m.