db_dataset_update_metadata | R Documentation |
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" )
con |
RPostgres connection object. |
set_name |
character name of a dataset. |
description |
character New description. If set to NA (default) the description is left untouched |
metadata |
list Metadata update (see metadata_update_mode) |
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. |
schema |
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()
## Not run: db_dataset_update_metadata( con = connection, set_name = "zrh_airport_data", description = "updating description Zurich airport arrivals and departures", schema = "schema" ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.