Learn R Programming

timeseriesdb (version 0.4.1)

overwriteTsSet: Overwrite a Time Series set with a new one

Description

Completely replaces the set set_name of user_name with the new values (keys, description, active) of the new one. If the set does not yet exist for the given user it will be created.

Usage

overwriteTsSet(con, set_name, ts_keys, user_name = Sys.info()["user"],
  description = "", active = TRUE, tbl = "timeseries_sets",
  schema = "timeseries")

Arguments

con

PostgreSQL connection

set_name

The name of the set to be overwritten

ts_keys

The keys in the new set

user_name

The owner of the set to be overwritten

description

The description of the new set

active

Should the new set be active?

tbl

Name of the time series sets table

schema

Schema of the time series database to use