bigQueryR (version 0.2.0)

bqr_list_datasets: List BigQuery datasets

Description

Each projectId can have multiple datasets.

Usage

bqr_list_datasets(projectId)

Arguments

projectId
The BigQuery project ID

See Also

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

Examples

Run this code

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

Run the code above in your browser using DataLab