bqr_copy_dataset {bigQueryR}R Documentation

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)

[Package bigQueryR version 0.5.0 Index]