Closed luciofaso closed 6 years ago
Unfortunately, it appears that the variables you've listed are ones that, while still appearing in the indicators list returned by the API, are actually no longer available, and I don't know how we'd figure that out without requesting every indicator. I will, at the very least, provide a more helpful error, but until I can think of a way to filter these I'm stuck closing this as an upstream problem.
where is a list of wbdata indicator downloads that are working?
I tried downloading all of the NY. indicators and fetcher.py in the api is failing
I have been testing the wbdata for some time now. It works well with some indicators, such as
{'1.1_ACCESS.ELECTRICITY.TOT': 'Access to Electricity (%)', '4.1.1_TOTAL.ELECTRICITY.OUTPUT': 'Energy Production', 'DAK.INFR.ROD.CR': 'ciccio2', 'SP.POP.TOTL': 'Population', 'SP.URB.TOTL': 'Urban population', 'SP.URB.TOTL.IN.ZS': 'Urban population (%)'}
but it does not work with many others, such as
{'EN.PRD.ELEC.POP.ZS':'energy pro capita', "DAK.INFR.ROD.CR":'infrastructure',
'SI.POV.NGAP':'Poverty Gap (index)', 'SI.POV.GAP2':'Poverty Rate (in % of population)' }
and many others.
The error I get is the following:
TypeError Traceback (most recent call last)