When a time series is stored to the database by storeTimeSeries
a minimal unlocalized (i.e. untranslatable) meta information record is being
generated. This meta information can be supplement using the updateMetaInformation
methods. Depending on the class of the environment that holds the
meta information localized or unlocalized meta information is updated.
NOTE: AVOID looping over this function. This functions accepts entire environments
and creates large SQL queries instead of looping over multiple small queries.
In other words loops are moved to the databse level for massive speed gain.
updateMetaInformation(meta, con, schema = "timeseries",
tbl = "meta_data_unlocalized", locale = NULL, keys = NULL, quiet = F,
chunksize = 10000)# S3 method for meta_env
updateMetaInformation(meta, con, schema = "timeseries",
tbl = "meta_data_unlocalized", locale = NULL, keys = NULL, quiet = F,
chunksize = 10000)
object of class meta_env. Most likely
generated by addMetaInformation
a PostgreSQL connection object
character name of the schema to write to. Defaults to 'timeseries'.
character name of the meta information table to write to. Defaults to 'meta_data_unlocalized'.
character iso 2 digit locae description. Defaults to NULL.
character vector of time series. If specified only the selected meta information is stored. Defaults to NULL which stores all meta information records in the environment.
logical should function be quiet instead of returning a message when done? Defaults to FALSE.
integer max size of chunks to split large query in.