dbConnect-methods: Connect to the BigQuery server

Description Arguments Value Methods See Also Examples

Description

Authenticates with the BigQuery server and creates a BQConnection

Arguments

username

Your google username: e.g. john.doe@gmail.com or just john.doe

password

Your google password.

Value

A BQConnection object which can then be used to query BigQuery.

Methods

signature(drv = "BQDriver", username="character", password="character")

Connects to and authenticates with the Google servers, then creates a BQConnection object which can then be used to query the BigQuery servers.

signature(drv = "BQDriver", username="character", auth.token="character")

Takes the authentication token provided as an argument and creates a BQConnection object with can then be used to query to BigQuery servers. N.B.: RBigQuery does not actually verify to see if the token is correct - you'll have to query BigQuery yourself to find out.

signature(drv = "BQConnection")

Should clone the provided BQConnection object, not implemented for now.

See Also

BQConnection-class

Examples

1
2
3
4
5
6
 ## Not run: 
    driver <- BigQuery()
    conn <- dbConnect(driver, username="username", password="password")
    data <- dbGetQuery(conn, "insert query here")

## End(Not run)

RBigQuery documentation built on May 2, 2019, 5:09 p.m.