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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
4 1 1 5

US Headquartered firms ESG data

Hi,

I was wondering how I can get ESG data for the last 19 years for firms headquartered in the US using Python API.

Best,

Mahdieh

historicalpython apiesg
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.

Upvotes
Accepted
17.6k 48 13 19

Hi @mahdiehvg,

The code snippet shown by Wasin will get you the historical ESG data for any instrument. If you don't already have a list, and need to find the companies headquartered in the US, then you can search for those using the screener query, by specifying the filter item: TR.HeadquartersRegion. See this article on how to use screener in python.

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.

Upvote
18.1k 35 12 12

Hello @mahdiehvg

You can use the RD Library to get historical ESG data.

Example Code:

rd.get_history(universe="LSEG.L", 
               fields=["TR.TRESGScore","TR.TRESGCScore","TR.TRESGCControversiesScore"], 
               interval="1Y",  
               start="2002-01-01", 
               end="2022-10-01")

Result:

rd-result.png

Hope this helps



rd-result.png (72.4 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.