Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /
avatar image
Question by jaime.oliver · Sep 24, 2019 at 09:58 AM · eikon apicontroversy details

Controversy details extraction

We are having issues extracting controversy details using the Eikon python API. When querying for General Electrics alone we get 11 controversy details, but querying at the same time for GE and other company we get less controversy details

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

4 Replies

  • Sort: 
avatar image
Answer by jaime.oliver · Oct 03, 2019 at 08:59 AM

An example of the problem can be reproduced using the following code:

# Output for the fields
outputs = [
    "fperiod",
    "esgsourcetitle",
    "esgsourcedate",
    "esgsourcepublisher",
    "esgsourceurl",
    "esgsourceabstract",
]
# Set parameters
params = {
    "AddSource": True,
    "EDate": -2,
    "Period": "FY0",
    "Frq": "FY",
    "CH": "Fd",
    "RH": "IN",
}

# Metrics 
controversies = ['TR.ControvEnv',
 'TR.RecentControvEnv',
 'TR.ControvCopyrights',
 'TR.ControvPublicHealth',
 'TR.ControvBusinessEthics',
 'TR.ControvTaxFraud',
 'TR.ControvAntiCompetition',
 'TR.ControvCriticalCountries',
 'TR.RecentControvPublicHealth',
 'TR.RecentControvBusinessEthics',
 'TR.RecentControvTaxFraud',
 'TR.RecentControvAntiCompetition',
 'TR.RecentControvCriticalCountries',
 'TR.RecentControvCopyrights',
 'TR.ControvHumanRights',
 'TR.ControvFreedomofAssociation',
 'TR.ControvChildLabor',
 'TR.RecentControvHumanRights',
 'TR.RecentControvChildLabor',
 'TR.ControvConsumer',
 'TR.RecentControvConsumer',
 'TR.ControvCustomerHS',
 'TR.ControvResponsibleRD',
 'TR.ControvPrivacy',
 'TR.ControvRespMarketing',
 'TR.ControvProductAccess',
 'TR.ProductRecall',
 'TR.RecentControvPrivacy',
 'TR.RecentControvRespMarketing',
 'TR.RecentControvProductAccess',
 'TR.RecentControvResponsibleRD',
 'TR.ControvDiversityOpportunity',
 'TR.RecentControvDiversity',
 'TR.MgtDepartures',
 'TR.ControvWorkingCondition',
 'TR.RecentControvWorkingCondition',
 'TR.ControvEmployeesHS',
 'TR.RecentControvEmployeesHS',
 'TR.ControvMgtComp',
 'TR.ControvRecentMgtComp',
 'TR.ControvShareholders',
 'TR.RecentControvShareholders',
 'TR.ControvInsiderDealings',
 'TR.ControvAccounting',
 'TR.RecentControvInsiderDealings',
 'TR.RecentControvAccounting']

metrics = [c + '.' + o for o in outputs for c in controversies]
features = [{m:{'params':params}} for m in metrics

If i make the API call for several companies:

ek.get_data( ['US3696041033','US0378331005'], features)  

I get 5 controversies for ISIN US3696041033, while making the call one-by-one, I get 11


Comment
rowan.calvert

People who like this

1 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by zoya.farberov · Nov 13, 2019 at 09:51 PM

Hello @jaime.oliver,

We have tested this request, and it looks like the discrepancy in the number of controversies tat you were observing previously, was fixed on the back end.

Could you please verify on your side?

Thanks,

-AHS

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by jaime.oliver · Dec 10, 2019 at 03:46 PM

I have tested the same code and still get the discrepancy

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by rd1021 · Dec 13, 2019 at 12:57 AM

Can I get the complete code for extracting the ESG Controversies with Metric, starting Fy, ending FY, and ticker as parameters @jaime.oliver

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
13 People are following this question.

Related Questions

Old ISIN does not fetch RIC code

How can I get bid and ask prices in a 1-min intervale from Python API for LCOc1 and LCOTc1?

Identify characteristics of historic board members on ASX 200 companies?

Screener formula does not work in Eikon API

Error when accessing Eikon data via API using R

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges