ts_env2data.table: Cast an environment of time series into a data.table

Description Usage Arguments Author(s) See Also

View source: R/ts_env2data_table.R

Description

This function uses and entire environment containing time series plus an environment that contains meta information to the time series into one single data.table. It transforms the timeseries data into a string representation of the hstore format. Hstore is data type within postgres SQL that enables users to store key value pairs in single table cell. The entire time series is stored as a bunch of key value pairs. The data.table contains a minimal amount of fixed meta information as well. Fixed meta information is meta information that is not translated.

Usage

1
2
  ts_env2data.table(ts_env_name, overwrite = T,
    meta_env_name = "meta")

Arguments

ts_env_name

name of the environment that contains the time series

overwrite

boolean should meta information in the local R object be overwritten, defaults to TRUE,

meta_env_name

name of the environment that contains the meta information

Author(s)

Matthias Bannert

See Also

create_line,add_mi


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