bqr_create_table: Create a Table

Description Usage Arguments Details Value See Also

View source: R/tables.R

Description

Create a Table

Usage

1
2
3
bqr_create_table(projectId = bqr_get_global_project(),
  datasetId = bqr_get_global_dataset(), tableId, template_data = NULL,
  timePartitioning = FALSE, expirationMs = 0L)

Arguments

projectId

The BigQuery project ID.

datasetId

A datasetId within projectId.

tableId

Name of table you want.

template_data

A dataframe with the correct types of data. If NULL an empty table is made.

timePartitioning

Whether to create a partioned table

expirationMs

If a partioned table, whether to have an expiration time on the data. The default 0 is no expiration.

Details

Creates a BigQuery table.

If setting timePartioning to TRUE then the table will be a partioned table

If you want more advanced features for the table, create it then call bqr_patch_table with advanced configuration configured from Table

Value

TRUE if created, FALSE if not.

See Also

Other Table meta functions: Table, bqr_copy_table, bqr_delete_table, bqr_list_tables, bqr_patch_table, bqr_table_data, bqr_table_meta


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