add_mi: Add meta information to an R object

Description Usage Arguments Author(s)

View source: R/add_mi.R

Description

This function adds a meta information object to the meta environment. If the meta environment does not exist an environment is created. Also the original data object is linked to the meta information by an

Usage

1
2
3
4
  add_mi(ts_name, ts_env, key = NA_character_,
    meta_env_name = "meta", srcname = NA_character_,
    legacy_key = NA_character_, cmnt = NA_character_,
    restrict = NA_character_, overwrite = FALSE)

Arguments

ts_name

name of a time_series object

ts_env

name of an environment that stores time series objects

key

character key, defaults to NA_character_ which leads to using the name of the original object

meta_env

character name of the meta environment, defaults to "meta"

srcname

character name of the data source

legacy_key

character name of a key that was used in another system

cmnt

character comment

restrict

character description of restrictions to the data

overwrite

boolean defaults to FALSE

Author(s)

Matthias Bannert


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