delete_dataset: Deletes an existing dataset in a project

Description Usage Arguments See Also Examples

View source: R/datasets.r

Description

Deletes an existing dataset in a project

Usage

1
delete_dataset(project, dataset, deleteContents = FALSE)

Arguments

project

The project name, a string

dataset

The dataset to delete, a string

deleteContents

Whether to delete the tables if the dataset is not empty, a boolean

See Also

Google API documentation: https://cloud.google.com/bigquery/docs/reference/v2/datasets/delete

Other datasets: get_dataset, insert_dataset, list_datasets, update_dataset

Examples

1
2
3
4
5
## Not run: 
delete_dataset("publicdata", "shakespeare", deleteContents = TRUE)
delete_dataset("myproject", "emptydataset")

## End(Not run)

bigrquery documentation built on June 27, 2017, 1:02 a.m.