Deletes an existing dataset in a project
delete_dataset(project, dataset, deleteContents = FALSE)
The project name, a string
The dataset to delete, a string
Whether to delete the tables if the dataset is not empty, a boolean
Google API documentation: https://cloud.google.com/bigquery/docs/reference/v2/datasets/delete
Other datasets: get_dataset
,
insert_dataset
,
list_datasets
, update_dataset
delete_dataset("publicdata", "shakespeare", deleteContents = TRUE)
delete_dataset("myproject", "emptydataset")
Run the code above in your browser using DataLab