A dataset is a family of time series that belong to the same topic. By default all series stored with `db_store_ts` belong to a default set. In order to assign them a different set, it must first be created with `db_dataset_create` after which the series may be moved with db_ts_assign_dataset
.
db_dataset_create(
con,
set_name,
set_description = NULL,
set_md = NULL,
schema = "timeseries"
)
RPostgres connection object.
character name of a dataset.
character description about the set. Default to NA.
meta information data about the set. Default to NA.
character name of the database schema. Defaults to 'timeseries'
character name of the created set
Other datasets functions:
db_dataset_delete()
,
db_dataset_get_keys()
,
db_dataset_get_last_update()
,
db_dataset_list()
,
db_dataset_trim_history()
,
db_dataset_update_metadata()
,
db_ts_assign_dataset()
,
db_ts_get_dataset()
if (FALSE) {
db_dataset_create(
con = connection,
set_name = "zrh_airport_data",
set_description = "Zurich airport arrivals and departures ",
schema = "schema"
)
}