This function cannot be used in batch mode as it needs user interaction. It asks the user to manually input confirmation to prevent unintentional deletion of datasets.

db_dataset_delete(con, set_name, schema = "timeseries")

Arguments

con

RPostgres connection object.

set_name

character name of a dataset.

schema

character name of the database schema. Defaults to 'timeseries'

Value

character name of the deleted set, NA in case of an error.

Examples


if (FALSE) {

db_dataset_create(
  con = connection,
  set_name = "zrh_airport_data",
  set_description = "Zurich airport arrivals and departures ",
  schema = "schema"
)

db_dataset_delete(
  con = connection,
  set_name = "zrh_airport_data",
  schema = "schema"
)
}