question

germain.garnier avatar image
9 1 1 3

How do I get a ESG Score via DatatStreamDSWS ?

Hello

I cannot retrieve ESG Score from DSWS, I tried static and series call but I have always 'NA' as a value. But in eikon there are data


1624442755250.png

1624442788877.png

Please help

datastream-apidsws-apiesg
1624442755250.png (69.3 KiB)
1624442788877.png (48.4 KiB)
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

Jirapongse avatar image
45.2k 103 43 60

@germain.garnier

Please try this code.

ds.get_data("VOD",
            ["P","TRESGS","ENSCORE","CGSCORE","TRESGCGVSS",
             "TRESGSOCOS","TRESGCS","TRESGCCS","TRESGS",
             "TRESGENERS","TRESGENPIS","TRESGSOHRS",
             "TRESGCGBDS","TRESGSOPRS","TRESGENRRS",
             "TRESGCGSRS","TRESGSOWOS","TRESGSOWOS"],
            start="LATESTDATE",kind=0)

The output is:

1624509819223.png


ds.get_data("F:RENU",["P","MV","TRESGS","ENSCORE"],start="-2Y",kind=1, freq='M',retName=True)

The output is:

1624509892404.png


1624509819223.png (18.1 KiB)
1624509892404.png (25.1 KiB)
10 |1500

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