Last data update: 2014.03.03

R: Store Meta Information to the Database
storeMetaInformationR Documentation

Store Meta Information to the Database

Description

This function stores meta information to the database for a given time series. Make sure that corresponding time series had been inserted to the main table before.

Usage

storeMetaInformation(series, con, tbl = "meta_data_localized",
  lookup_env = "meta_data_localized", locale = "de", overwrite = F,
  quiet = F, schema = "timeseries")

Arguments

series

a character name of an time series object

con

a PostgreSQL connection object

tbl

name of the meta information table, defaults to localized meta data: meta_data_localized. Alternatively choose meta_data_unlocalized if you are not translating meta information.

lookup_env

name of the R environment in which to look for meta information objects

locale

character locale fo the metainformation. Defaults to Germen 'de'. See also readMetaInformation. If locale is set to NULL unlocalized meta is updated. Make sure to change tbl to 'meta_data_unlocalized'.

overwrite

logical, defaults to FALSE.

quiet

logical, should there be console output for every query result ? Defaults to FALSE.

schema

SQL schema name, defaults to 'timeseries'.

Results