Fetching a company’s TRBC codes¶
You can use the LSEG Data Library for Python to retrieve the The Refinitiv Business Classification (TRBC) codes associated with a company. The standard is used by LSEG to classify business establishments for economic analysis.
To do acquire the data, pass a company’s Refinitiv Instrument Code to the get_data method with a request for TRBC related fields.
Here’s a query for Thomson Reuters:
ld.get_data(
'TRI.N',
fields=[
# Basic stuff
"TR.CommonName",
"TR.TickerSymbol",
# TRBC codes
"TR.TRBCEconSectorCode",
"TR.TRBCEconomicSector",
"TR.TRBCBusinessSectorCode",
"TR.TRBCBusinessSector",
"TR.TRBCIndustryGroupCode",
"TR.TRBCIndustryCode",
"TR.TRBCIndustry",
"TR.TRBCActivityCode",
"TR.TRBCActivity",
]
)
| Instrument | Company Common Name | Ticker Symbol | TRBC Economic Sector Code | TRBC Economic Sector Name | TRBC Business Sector Code | TRBC Business Sector Name | TRBC Industry Group Code | TRBC Industry Code | TRBC Industry Name | TRBC Activity Code | TRBC Activity Name | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | TRI.N | Thomson Reuters Corp | TRI | 52 | Industrials | 5220 | Industrial & Commercial Services | 522030 | 52203070 | Professional Information Services | 5220307010 | Professional Information Services (NEC) |