R: Deletes an existing dataset in a project

delete_dataset {bigrquery} | R Documentation

## 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

    ## Not run:
    delete_dataset("publicdata", "shakespeare", deleteContents = TRUE)
    delete_dataset("myproject", "emptydataset")

    ## End(Not run)

[Package bigrquery version 0.4.1 Index]