universes
Retrieve universe information
Description
returns universe information for a specific universe.d = universes(c,universeid)
returns universe information based on the request type.d = universes(c,universeid,requesttype)
Examples
Using an IHS Markit connection, retrieve universe information for all universes.
Create an IHS Markit connection using your user name and password. c is an
ihsmarkitrs object.
username = 'ABCDEF'; password = 'ABC123'; c = ihsmarkitrs(username,password);
Retrieve universe information for all universes using the IHS Markit connection. d is a table that contains the universe
information.
d = universes(c);
Display information for the first few universes.
head(d)
ans =
8×6 table
description region universeType identifier universeId universe
___________ ______________________________ ____________ __________ __________ ________________________________
'' 'Europe, Middle East & Africa' 'Global' [] 248 'Asset4 Europe'
'' '11,12,13,14' 'Global' [] 227 'Asset4 Global'
'' '11,12' 'Global' [] 250 'Asset4 North America'
'' 'Far East' 'Global' [] 249 'Asset4 Pacific'
'' 'Far East' 'Global' [] 228 'Asset4 US'
'' '11,12,13,14' 'UDM' [] 324 'Global Dividend'
'' '11,12,13,14' 'Global' [] 1552 'Global Semi Conductor Universe'
'' '11,12,13,14' 'Global' [] 1293 'Markit Developed World'
The variables are:
description— Universe descriptionregion— Country or region codeuniverseType— Universe typeidentifier— Identification typeuniverseId— Universe identifieruniverse— Universe name
Using an IHS Markit connection, retrieve universe information for a specific universe.
Create an IHS Markit connection using your user name and password. c is an
ihsmarkitrs object.
username = 'ABCDEF'; password = 'ABC123'; c = ihsmarkitrs(username,password);
Retrieve universe information for the QSG World universe using
the IHS Markit connection. d is a table that contains the universe
information.
universeid = "QSG World";
d = universes(c,universeid)d =
1×6 table
description region universeType identifier universeId universe
___________ _____________ ____________ __________ __________ ___________
'' '11,12,13,14' 'Global' 'Sedol' 133 'QSG World'
The variables are:
description— Universe descriptionregion— Country or region codeuniverseType— Universe typeidentifier— Identification typeuniverseId— Universe identifieruniverse— Universe name
Using an IHS Markit connection, retrieve universe information for a specific universe. Specify a historical request to retrieve historical information for the universe.
Create an IHS Markit connection using your user name and password. c is an
ihsmarkitrs object.
username = 'ABCDEF'; password = 'ABC123'; c = ihsmarkitrs(username,password);
Retrieve universe information for the QSG World universe using
the IHS Markit connection. Specify retrieving historical information by using the
HistoryDetail request type. d is a table that
contains the historical universe information.
universeid = "QSG World"; requesttype = 'HistoryDetail'; d = universes(c,universeid,requesttype)
d =
2×4 table
universe freqType startDate endDate
___________ _________ ____________ ____________
'QSG World' 'Daily' '03/22/2007' '03/14/2018'
'QSG World' 'Monthly' '12/30/1988' '05/31/2017'
The variables are:
universe— Universe namefreqType— Data frequency (or periodicity)startDate— Start date of the life of the universeendDate— End date of the life of the universe
Input Arguments
IHS Markit connection, specified as an ihsmarkitrs object.
Universe name, specified as a character vector or string scalar.
Example: 'US Total Cap'
Data Types: char | string
Request type, specified as the value 'HistoryDetail',
'Mapping', or 'Country'. Use the
'HistoryDetail' value to return historical information from the
universe that you specify using the universeid input argument. Use
the 'Mapping' value to return a list of the factors in the specified
universe. Use the 'Country' value to return the country identifiers
that apply to the specified universe.
You can specify each value as a character vector or string scalar.
Output Arguments
Universe information, returned as a table. The following table describes the
variables in the returned data. (The variables vary depending on the request type that
you specify in the requesttype input argument.)
| Variable Name | Description | Data Type |
|---|---|---|
| Universe identifier |
|
| Universe description | cell array of character vectors |
| Country or region code | cell array of character vectors |
| Universe type | cell array of character vectors |
| Identification type | cell array of character vectors |
| Universe name | cell array of character vectors |
| Data frequency (or periodicity) | cell array of character vectors |
| Start date of the life of the universe | cell array of character vectors |
| End date of the life of the universe | cell array of character vectors |
| Factors in the universe | structure |
| Countries that apply to the universe | cell array of character vectors |
Version History
Introduced in R2018b
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.
Amerika
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)