Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bqr_create_table

Create a Table


Description

Create a Table

Usage

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


bigQueryR

Interface with Google BigQuery with Shiny Compatibility

v0.5.0
MIT + file LICENSE
Authors
Mark Edmondson [aut, cre], Hadley Wickham [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.