CreateDerivedMetadata {MacrobondAPI} | R Documentation |
Create a new Metadata
object that inherits all properties from another object.
The content can be changed until it is used in a series.
After the metadata object is populated, it is usually passed to CreateTimeSeriesObject
.
CreateDerivedMetadata(metadata)
metadata |
A |
metaBase <- CreateEmptyMetadata() addMetadataValue(metaBase, "Currency", "eur") metaUs <- CreateDerivedMetadata(metaBase) addMetadataValue(metaUs, "Region", "us") metaGb <- CreateDerivedMetadata(metaBase) addMetadataValue(metaGb, "Region", "gb")