The v2 API allows users to send a query against a specific database using the source parameter as in the example below:
https://api.worldbank.org/v2/country/all/indicator/SG.LAW.INDX?source=14&date=2022&format=json
I don't think this is currently supported in wbstats.
This is important for cases where different versions of the same indicator may be available in two different database, like in the example below:
The
v2API allows users to send a query against a specific database using thesourceparameter as in the example below:https://api.worldbank.org/v2/country/all/indicator/SG.LAW.INDX?source=14&date=2022&format=jsonI don't think this is currently supported in
wbstats.This is important for cases where different versions of the same indicator may be available in two different database, like in the example below:
https://api.worldbank.org/v2/country/all/indicator/SG.LAW.INDX?source=2&format=json
https://api.worldbank.org/v2/country/all/indicator/SG.LAW.INDX?source=14&format=json