Hi,
Thanks for your feedback. Right now API doesn't have provision to
retrieve the data granularity as metadata. but the data catalogs would
be useful to find the available data from a particular data source.
Refer data catalogs at:
http://data.worldbank.org/data-catalog.
You can provide the time range like following api call,
http://api.worldbank.org/countries/indicators/DP.DOD.DECN.CR.GG.CD?date=2006Q1:2006Q4&format=json
or you can rewrite the api call using the parameters frequency & MRV
(both work together) as shown below,
http://api.worldbank.org/countries/indicators/DP.DOD.DECN.CR.GG.CD?date=2006:2006&format=json&frequency=Q&MRV=4
Refer these documentation at:
http://data.worldbank.org/node/11
Hope these will help. Please let us know if you need any more
information.
Thanks,
Shanmugam
On Jan 16, 11:07 am, Tom Zeppenfeldt <
tomzeppenfe...@gmail.com> wrote:
> Hello,
>
> We are accessing the API, ad encounter problems because data
> granulartiy is sometimes quarters, sometimes years. Is there a way to
> retrieve the granularity info can be retrieved as metadata?
>
> Since we don't have that info now, we now run into mismatch of
> dataranges and granularity. For example, a call like this:
>
>
http://api.worldbank.org/countries/indicators/DP.DOD.DECN.CR.GG.CD?da...