Provide the function with vector of time series keys and find out which access level is necessary to access the supplied keys.

db_ts_get_access_level(con, ts_keys, valid_on = NULL, schema = "timeseries")

Arguments

con

RPostgres connection object.

ts_keys

character vector of time series identifiers.

valid_on

character representation of a date in the form of 'YYYY-MM-DD'. valid_on selects the version of a time series that is valid at the specified time.

schema

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