Industry codes in MnA

Best Answer
-
For column names, I can see that you can switch between field_name=True and False and either receive the code or the label of the variable name. How can I switch to values instead of labels for the output/observations?
Sample code:
# SCREEN query with additional condition to exclude empty TR.MnATarget
query = ( 'SCREEN(U(IN(DEALS)),' 'IN(TR.MnATRBCActivity,"5020101011"),' 'IN(TR.MnADealType,"DI","UN","SP"),' 'IN(TR.MnAAcquirorNation, "US"),' # Filter for Acquiror Nation = United States 'TR.MnAAnnDate > "2020-01-01")' # Filter for Deals announced after 2016)
fields = [ 'TR.MnASDCDealNumber', 'TR.MnAStatus', 'TR.MnADealType', 'TR.MnAAnnDate', 'TR.MnATarget', 'TR.MnATargetPermId', 'TR.MnATargetSDCCusip', 'TR.MnAPriNaics', 'TR.MnATargetPriNaics22', 'TR.MnATargetPriSic', 'TR.MnANaics', 'TR.MnATargetNaics22', 'TR.MnATargetSic', 'TR.MnAAcquiror', 'TR.MnAAcquirorPermId', 'TR.MnAAcquirorSDCCusip', 'TR.MnAAcquirorNation']example_data, err = tr.get_data(query, fields, field_name=True)
0
Answers
-
Thank you for reaching out to us.
I used the formula builder in the Eikon/Workspace excel and found a lot of NAIC fields under the Mergers & Acquisitions category.
As this forum is dedicated to technical queries on API products, if you have any futher questions, please contact the helpdesk directly via MyAccount. The helpdesk can check if there are any TR.MnA fields that can provide the required data.
0 -
Thank you for your reply! It seems I did not ask my question clearly - I can indeed pull these items from the API. However, the result is not a code (e.g., 311119) but the description (e.g., Other Animal Food Processing). The latter is not helpful. How can I adjust my query so that I obtain values of codes (e.g., 311119), not the labels or descriptions?
0 -
-
Thanks! It's possible to query on codes, so they seem to be there in the backend. This is extremely frustrating, and I don't understand the reasoning behind providing the product in this limited way. I'll reach out to support.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 687 Datastream
- 1.4K DSS
- 622 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 254 ETA
- 557 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 276 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 672 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛