td.data.frame: Teradata Data Frames

Description Usage Arguments Details Value Examples

View source: R/td.data.frame.R

Description

An R object that represents a Teradata table. The object initializes with certain information upon creation such as total number of rows and what the column names of the table are.

Usage

1
td.data.frame(table, database = "")

Arguments

table

name of table in Teradata to point to.

database

database where table resides. Defaults to current DATABASE on connection.

Details

This is the main object that stores the link between a Teradata table and the R environment. No data from the table is actually resident in the R system only some initial values of rows and columns are persisted and stored within the td data frame object.

Value

Returns a td data frame.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 

tdf <- td.data.frame("customer")
#pointer to customer table in current database
tdf2 <- td.data.frame("customer", "otherDB")
#pointer to customer table in database 'otherDB'


## End(Not run)

nonsleepr/teradataR documentation built on May 23, 2017, 4:47 p.m.