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.

1 Answer

· Write an Answer
Upvotes
Accepted
83.1k 281 53 77

@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.