Choosing Attributes to Include in the Resultset- FXLData
Jump to navigation
Jump to search
Contents
Choosing Attributes to Include in the Resultset
A breakdown of some or all series attributes can be returned as part of the resultset if required. Note that dataset and observation-level attributes are not available.
Include all attributes
- =FXLData() horizontal presentation: set includeBreakdown=TRUE and includeAttributes=TRUE
- =FXLDataV() vertical presentation: set labels=both and includeAttributes=TRUE
Include selected attributes
- Set includeBreakdown=TRUE for =FXLData() or labels=both for =FXLDataV()
- Add to the REST Args: attributes= followed by a comma-separated list of the attribute IDs to include. e.g.
attributes=UNIT,TITLE
Worked examples
The following are samples from the ECB's EXR (Exchange Rates) dataset:
Include all attributes using horizontal presentation.
=FXLData("https://demo.metadatatechnology.com/FusionRegistry","EXR","A",100,,"1990","1995","id",True,True,True,True)
Include all attributes using vertical presentation.
=FXLDataV("https://demo.metadatatechnology.com/FusionRegistry","EXR","A",100,,"1990","1995","both",True,True,True,True)
Include just the UNIT and TITLE attributes using horizontal presentation.
=FXLData("https://demo.metadatatechnology.com/FusionRegistry","EXR","A",100,"attributes=UNIT,TITLE","1990","1995","id",True,True,True,True)
Include just the UNIT and TITLE attributes using vertical presentation.
=FXLDataV("https://demo.metadatatechnology.com/FusionRegistry","EXR","A",100,"attributes=UNIT,TITLE","1990","1995","both",True,True,True,True)