bqr_list_datasets: List BigQuery datasets

Description Usage Arguments See Also Examples

View source: R/datasets.R

Description

Each projectId can have multiple datasets.

Usage

1

Arguments

projectId

The BigQuery project ID

See Also

Other bigQuery meta functions: bqr_list_projects

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## 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)
  
  ## get projects
  projects <- bqr_list_projects()
  
  my_project <- projects[1]
  
  ## for first project, get datasets
  datasets <- bqr_list_datasets[my_project]
  

## End(Not run)

bigQueryR documentation built on Oct. 9, 2019, 5:05 p.m.