Closed Crefok closed 1 year ago
databid
is used internally. You want the id
column: 1 for Doing Business, 3 for World Governance Indicators, etc.
db_mapping = {row['code']:row['id'] for row in wb.source.list()}
df = wb.data.DataFrame(series="IC.BUS.EASE.DFRN.XQ.DB1719",
db=db_mapping['DBS'],
numericTimeKeys=True,
skipBlanks=True,
time=range(2010, datetime.datetime.now().year),
labels=False)
the db needs to get the id
not the databid
now its working
Hey, I am trying to receive data from the DBS-Database of the Workbank via this API.
Here is a minimal Code Example:
but the code doesn't run. It raises an "JSONDecodeError"
here is the complete strack trace:
Can Someone help here?
Thanks an Regards.
Edit: Data from the WGI-Database results in the same Exception