bqr_list_datasets: List BigQuery datasets

View source: R/datasets.R

bqr_list_datasetsR Documentation

List BigQuery datasets

Description

Each projectId can have multiple datasets.

Usage

bqr_list_datasets(projectId = bqr_get_global_project())

Arguments

projectId

The BigQuery project ID

See Also

Other bigQuery meta functions: bqr_list_projects()

Examples


## 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)


cloudyr/bigQueryR documentation built on Oct. 28, 2023, 3:36 p.m.