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

bqr_copy_dataset

Copy datasets


Description

Uses bqr_copy_table to copy all the tables in a dataset.

Usage

bqr_copy_dataset(source_datasetid, destination_datasetid,
  source_projectid = bqr_get_global_project(),
  destination_projectid = bqr_get_global_project(),
  createDisposition = c("CREATE_IF_NEEDED", "CREATE_NEVER"),
  writeDisposition = c("WRITE_TRUNCATE", "WRITE_APPEND", "WRITE_EMPTY"),
  destination_prefix = NULL)

Arguments

source_datasetid

source datasetId

destination_datasetid

destination datasetId

source_projectid

source table's projectId

destination_projectid

destination table's projectId

createDisposition

Create table's behaviour

writeDisposition

Write to an existing table's behaviour

destination_prefix

A prefix appended to the destination tableIds

Details

You can not copy across dataset regions (e.g. EU to US), or copy BigQuery Views.

Value

A named list of jobs of the source datasets, with details of job started.

Examples

## Not run: 

  bqr_copy_dataset("source_dataset", "destination_dataset")


## End(Not run)

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.