dbGetQuery-methods: query and return

Description Arguments Methods See Also Examples

Description

Executes a query, parses the result. Returns data.frame if successful, FALSE if not.

Arguments

conn

BQConnection object to send query through

statement

character string of statement to execute

...

other arguments are passed to dbSendQuery call

Methods

signature(conn = "BQConnection", statement = "character"), ...

See Also

dbSendQuery-methods fetch BQConnection-class

Examples

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

## End(Not run)

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