collect.tbl_BigQueryConnection | R Documentation |
This collect method is specialised for BigQuery tables, generating the
SQL from your dplyr commands, then calling bq_project_query()
or bq_dataset_query()
to run the query, then bq_table_download()
to download the results. Thus the arguments are a combination of the
arguments to dplyr::collect()
, bq_project_query()
/bq_dataset_query()
,
and bq_table_download()
.
collect.tbl_BigQueryConnection(
x,
...,
n = Inf,
api = c("json", "arrow"),
page_size = NULL,
max_connections = 6L
)
x |
A data frame, data frame extension (e.g. a tibble), or a lazy data frame (e.g. from dbplyr or dtplyr). See Methods, below, for more details. |
... |
Other arguments passed on to
|
n |
Maximum number of results to retrieve.
The default, |
api |
Which API to use? The Because the |
page_size |
(JSON only) The number of rows requested per chunk. It is
recommended to leave this unspecified until you have evidence that the
When |
max_connections |
(JSON only) Number of maximum simultaneous connections to BigQuery servers. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.