as.data.frame.td.data.frame: Convert td data frame to a data frame

Description Usage Arguments Value Examples

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

Description

Coerce a td data frame object into a data frame. This will access the Teradata object referenced by the td data frame and select rows from that object and bring it over as a data frame.

Usage

1
2
## S3 method for class 'td.data.frame'
as.data.frame(x, size = 100)

Arguments

x

td data frame.

size

max amount of rows to return from database.

Value

data frame

Examples

1
2
3
4
5
6
## Not run: 
tdf <- td.data.frame("customer")
df <- as.data.frame(tdf)
# Brings 'size' rows of data from Teradata to a data frame

## End(Not run)

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