Loading

RELABEL


gts
Since v1.0.0
Available on all platforms
See also

Modifies the labels of a Geo Time Series™. The RELABEL function expects a parameter MAP whose entries are labels to set or alter.

If the parameter MAP has an entry with a NULL key, the RELABEL function will use the rest of the MAP as the actual labels to set for the GTS. If no NULL key exist, then the other entries of the MAP will alter the existing labels.

An entry with an empty STRING value or a NULL value will have the effect of removing the label from the GTS' labels.

Signature

Examples

NEWGTS CLONE { 'foo' 'bar' 'bar' 'foo' } RELABEL //two new labels added CLONE { NULL NULL 'star' 'trek' } RELABEL //all removed, one new CLONE { 'next' 'generation' 'heckle' 'jeckle' } RELABEL //add two new labels CLONE { 'heckle' NULL } RELABEL //remove just one CLONE { 'next' '' } RELABEL //remove just one