Learn R Programming

bigrquery (version 0.2.0)

delete_dataset: Deletes an existing dataset in a project

Description

Deletes an existing dataset in a project

Usage

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

Run this code
delete_dataset("publicdata", "shakespeare", deleteContents = TRUE)
delete_dataset("myproject", "emptydataset")

Run the code above in your browser using DataLab