Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 1

how to get access of all ESG score every year

Hi, I have some problem when I used the follwoing code:

df, err = ek.get_data("SCREEN(U(IN(Equity(active,public,primary))/*UNV:Public*/), IN(TR.RegCountryCode,""US""), TR.TRESGScore(Period=FY0)>0, CURN=USD)",

["TR.CUSIP",'TR.CompanyName',"TR.TRESGScore.Date","TR.TRESGScore","TR.EnvironmentPillarScore",'TR.SocialPillarScore','TR.GovernancePillarScore'],

parameters={'SDate':'0', 'EDate':'-19','Period':'FY0','Frq':'FY'})

It will return a "nontype". It is wired because it works well three month ago.

#technology#contentpython api
icon clock
10 |1500

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

Hi @ww678 ,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,
AHS

@ww678

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
78.6k 248 52 74

@ww678

Thank you for reaching out to us.

I can run the code properly and get the result, as shown below.

1689043939371.png

Please share the error or output that you received.



1689043939371.png (58.7 KiB)
icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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