Update Description and/or Metadata of a Dataset
db_dataset_update_metadata(
con,
set_name,
description = NULL,
metadata = NULL,
metadata_update_mode = "update",
schema = "timeseries"
)
RPostgres connection object.
character name of a dataset.
character New description. If set to NA (default) the description is left untouched
list Metadata update (see metadata_update_mode)
character one of "update" or "overwrite". If set to "update", new fields in the list are added to the existing metadata and existing fields overwritten. If NA nothing happens in update mode. If set to "overwrite" ALL existing metadata is replaced.
character name of the database schema. Defaults to 'timeseries'
Other datasets functions:
db_dataset_create()
,
db_dataset_delete()
,
db_dataset_get_keys()
,
db_dataset_get_last_update()
,
db_dataset_list()
,
db_dataset_trim_history()
,
db_ts_assign_dataset()
,
db_ts_get_dataset()
if (FALSE) {
db_dataset_update_metadata(
con = connection,
set_name = "zrh_airport_data",
description = "updating description Zurich airport arrivals and departures",
schema = "schema"
)
}