fetch-methods: Fetch data out of an BQResult object

Description Methods See Also Examples

Description

Retrive data from a BQResult in the form of a data.frame

Methods

signature(res = "BQResult", n = "missing")

Retrieves as many rows of the data as possible.

signature(res = "BQResult", n = "numeric")

Retrieves the first n rows of data.

See Also

BQResult-class dbSendQuery-methods

Examples

1
2
3
4
5
6
 ## Not run: 
    result <- dbSendQuery(conn, "SELECT word FROM [bigquery/samples/shakespeare]
                                 WHERE word CONTAINS 'raisin'")
    data <- fetch(result)

## End(Not run)

RBigQuery documentation built on May 31, 2017, 2:55 a.m.