bqr_auth: Do OAuth2 authentication

Description Usage Arguments Details See Also Examples

Description

Do OAuth2 authentication

Usage

1
bqr_auth(token = NULL, new_user = FALSE)

Arguments

token

An existing OAuth2 token, if you have one.

new_user

Set to TRUE if you want to go through the authentication flow again.

Details

This function just wraps gar_auth from googleAuthR, but means you don't need to explictly load that library.

See Also

gar_auth

Other bigQuery meta functions: bqr_create_table, bqr_delete_table, bqr_list_datasets, bqr_list_projects, bqr_list_tables, bqr_table_data, bqr_table_meta

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
  library(bigQueryR)
  
  ## this will open your browser
  ## Authenticate with an email that has access to the BigQuery project you need
  bqr_auth()
  
  ## verify under a new user
  bqr_auth(new_user=TRUE)
  

## End(Not run)

MarkEdmondson1234/bigQueryR documentation built on May 7, 2019, 2:53 p.m.