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")
RPostgres connection object.
character vector of time series identifiers.
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.
character name of the database schema. Defaults to 'timeseries'