Retrieve Universe Information for Specific Request Type
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)
IHS Markit connection, specified as an ihsmarkitrs object.
universeid — Universe name character vector | string scalar
Universe name, specified as a character vector or string scalar.
Example: 'US Total Cap'
Data Types: char | string
requesttype — Request type character vector | string scalar
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.
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.)
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.