add_vintage_to_db: Archive a Vintage of an Existing Time Series

Description Usage Arguments Author(s)

View source: R/add_vintage_to_db.R

Description

This function stores a vintage of an existing time series to the vintage table of the Postgres database. It only works if a corresponding main time series exists. The link to the timeseries is made by the attribute NOT by the name of the time series. Hence, myseries_vintage and myseries have the same mi_key attribute. Vintage series can be marked by additional vintage_key.

Usage

1
  add_vintage_to_db(con, Obj, ...)

Arguments

con

a Postgres Connection Object,

Obj

character name of the time series that contains the vintage information

...

optional arguments, namely vintage_key. Could change that to a fixed argument.

Author(s)

Matthias Bannert


mbannert/pgsqltsmap documentation built on May 21, 2019, 2:24 p.m.