db_collection_get_keys: Get All Keys in a User Collection

View source: R/collections.R

db_collection_get_keysR Documentation

Get All Keys in a User Collection

Description

Reads all keys in the given collection and returns them in a vector

Usage

db_collection_get_keys(
  con,
  collection_name,
  user = Sys.info()["user"],
  schema = "timeseries"
)

Arguments

con

RPostgres connection object.

collection_name

character name of a collection to read. Collection are bookmark lists that contain time series keys.

user

character name of the database user. Defaults to the user of the R session. this is often the user for the database, too so you do not have to specify your username explicitly if that is the case.

schema

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

See Also

Other collections functions: db_collection_add_ts(), db_collection_delete(), db_collection_get_last_update(), db_collection_list(), db_collection_remove_ts()


timeseriesdb documentation built on March 24, 2022, 1:06 a.m.