Return set identifiers associated with a vector of keys. If a ts key does not exist in the catalog, set_id will be NA.
db_ts_get_dataset(con, ts_keys, schema = "timeseries")RPostgres connection object.
character vector of time series identifiers.
character name of the database schema. Defaults to 'timeseries'
data.frame with columns `ts_key` and `set_id`
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_dataset_update_metadata(),
db_ts_assign_dataset()
if (FALSE) {
# one key
db_ts_get_dataset(
  con = connection,
  ts_keys = "ch.zrh_airport.departure.total",
  schema = "schema"
)
# multiple keys
db_ts_get_dataset(
  con = connection,
  ts_keys = c(
    "ch.zrh_airport.departure.total",
    "ch.zrh_airport.arrival.total"
  ),
  schema = "schema"
)
}