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"
)

Arguments

con

RPostgres connection object.

set_name

character name of a dataset.

set_description

character description about the set. Default to NA.

set_md

meta information data about the set. Default to NA.

schema

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

Value

character name of the created set

Examples


if (FALSE) {

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