db_ts_get_dataset | R Documentation |
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")
con |
RPostgres connection object. |
ts_keys |
character vector of time series identifiers. |
schema |
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()
## Not run: # 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" ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.