ts_data_table_2db: Write a data.table with hstore column to database

Description Usage Arguments Author(s) See Also

View source: R/ts_data_table_2db.R

Description

This function stores a timeseries data.table which contains timeseries represented as hstore to a postgres SQL database.

Usage

1
2
  ts_data_table_2db(con, dt, tab = "timeseries_main",
    overwrite = F)

Arguments

con

database connection object

dt

a data.table created by env2data.table

tab

name of the database table

overwrite

boolean remove existing rows of the same key in the database, defaults to FALSE

Author(s)

Matthias Bannert

See Also

env2data.table


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