powered by
Projects have two primary components: datasets and jobs. Unlike other BigQuery objects, is no accompanying bq_project S3 class because a project is a simple string.
bq_project
bq_project_datasets(x, page_size = 100, max_pages = 1, warn = TRUE)bq_project_jobs(x, page_size = 100, max_pages = 1, warn = TRUE)
bq_project_jobs(x, page_size = 100, max_pages = 1, warn = TRUE)
bq_project_datasets(): a list of bq_datasets
bq_project_datasets()
bq_project_jobs(): a list of bq_jobs.
bq_project_jobs()
A string giving a project name.
Number of items per page.
Maximum number of pages to retrieve. Use Inf to retrieve all pages (this may take a long time!)
Inf
If TRUE, warn when there are unretrieved pages.
TRUE
datasets
jobs
One day we might also expose the general project metadata.
if (bq_authable()) { bq_project_datasets("bigquery-public-data") bq_project_datasets("githubarchive") } if (bq_testable()) { bq_project_jobs(bq_test_project(), page_size = 10) }
Run the code above in your browser using DataLab