Learn R Programming

timeseriesdb (version 0.4.1)

joinTsSets: Join two Time Series sets together

Description

This will create a new set set_name_new with the keys from both set_name_1 and set_name_2 combined. By default the description will be a combination of the descriptions of the subsets and the new set will only be active it BOTH subsets were active.

Usage

joinTsSets(con, set_name_1, set_name_2, set_name_new,
  user_name1 = Sys.info()["user"], user_name2 = user_name1,
  user_name_new = user_name1, description = NULL, active = NULL,
  tbl = "timeseries_sets", schema = "timeseries")

Arguments

con

PostgreSQL connection

set_name_1

Name of the first set

set_name_2

Name of the second set

set_name_new

Name of the set to be created

user_name1

User name of the first set's owner

user_name2

User name of the second set's owner

user_name_new

User name of the new set's owner

description

Description of the new set

active

Should the new set be marked as active

tbl

The time series set table

schema

The time series db schema to use