Dear developer community,
I am pulling 10 year historical ESG Data on a number of data points. I use the same code for all the requests, and just replace the Eikon Code. However, when it comes to a specific datapoint, I get an unexpected output. See below:
Here is an example where I successfully output the historical data of another ESG datapoint:
ISIN_appended_df = []
for sublist in chunklist:
data7, err =ek.get_data(sublist, fields=["TR.EmissionReductionTargetPctage(SDate=0,EDate=-10,Period=FY0,Frq=FY).date","TR.EmissionReductionTargetPctage(SDate=0,EDate=-10,Period=FY0,Frq=FY)"],parameters=None, field_name=False, raw_output=False, debug=False)
ISIN_appended_df.append(data7)
ISIN_appended_df = pd.concat(ISIN_appended_df)
Result:
Here is the example where the same code fails to produce the expected outcome:
HSMS_df = []
for sublist in chunklist:
data7, err =ek.get_data(sublist, fields=["TR.HSMSCertifiedPctage(SDate=0,EDate=-5,Period=FY0,Frq=FY).date","TR.HSMSCertifiedPctage(SDate=0,EDate=-5,Period=FY0,Frq=FY)"],parameters=None, field_name=False, raw_output=False, debug=False)
HSMS_df.append(data7)
HSMS_df = pd.concat(HSMS_df)
Result:
As you can see, the column names do not have the expected titles, and there is no data outputted for any of the firms.
Thanks in advance