I am trying to get ESG data for indices for example 'SPX', using the following code:
etf_esg, err = ek.get_data('SPX',
['TR.TRESGScore','TR.TRESGScoreGrade','TR.ESGCScore',"TR.TRESGCScoreGrade",'TR.EnvironmentPillarScore','TR.SocialPillarScore','TR.fdfdf','TR.TRESGResourceUseScore'])
However, it returns only NaN values in Python.
How can I retrieve data properly?
Best,
Rupert