Closed MaxGhenis closed 5 years ago
wbdata.get_incomelevel()
shows that some incomelevel
values are gone, including OEC
:
I'll make a PR replacing the example with HIC
.
Proposed in https://github.com/OliverSherouse/wbdata/pull/30.
Thanks for the fix.
The readthedocs documentation includes this line:
This returns the error:
The same error is returned with the simpler:
And other
incomelevel
values likeoec
,OECD
, andoecd
also produce this error.get_country()
without theincomelevel
argument works fine.Function documentation doesn't include more information like a list of valid
incomelevel
values: https://github.com/OliverSherouse/wbdata/blob/0541f6da9d1d867ce58badfb96d6648c754fe2aa/wbdata/api.py#L253-L261