Learn R Programming

timeseriesdb (version 1.0.0-1.1.2)

change_access_level: Change the Access Level of a Time Series

Description

Change the Access Level of a Time Series

Usage

db_ts_change_access(
  con,
  ts_keys,
  access_level,
  valid_from = NULL,
  schema = "timeseries"
)

db_dataset_change_access( con, dataset, access_level, valid_from = NULL, schema = "timeseries" )

Arguments

con

RPostgres connection object.

ts_keys

character vector of time series identifiers.

access_level

character describing the access level of the time series or dataset.

valid_from

character representation of a date in the form of 'YYYY-MM-DD'. valid_from starts a new version

schema

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

dataset

character name of the dataset. Datasets are group of time series.

Value

returns a list containing the parsed JSON status feedback from the DB.

returns a list containing the parsed JSON status feedback from the DB.

See Also

Other access levels functions: db_access_level_create(), db_access_level_delete(), db_access_level_list(), db_access_level_set_default(), db_ts_find_keys()