Aggregate countries

74 views
Skip to first unread message

Sarven Capadisli

unread,
May 29, 2012, 10:02:39 AM5/29/12
to world-b...@googlegroups.com
Hi,

I was wondering if there is some data on aggregate "countries". For
instance, which countries are included in "Euro area" (XC), or "East
Asia & Pacific (developing only)" (4E)?

Would you be able to provide a list of countries for all aggregates?

Thanks,

-Sarven

sl...@worldbank.org

unread,
May 29, 2012, 2:01:03 PM5/29/12
to World Bank API
Hi Sarven,

We have all the aggregate groups listed on http://data.worldbank.org/country.
Click on any of the aggregate groups and you will go to that group's
page which has all the countries in that group listed.

Cheers,
Sup

Sarven Capadisli

unread,
May 29, 2012, 3:31:49 PM5/29/12
to world-b...@googlegroups.com
Thanks Sup.

I should have mentioned that I was hoping to find this information in
the API. Does it exist? Otherwise, I'd have to either carry on this task
manually or scrape the HTML page.

-Sarven

On 2012-05-29 19:01, sl...@worldbank.org wrote:
> Hi Sarven,
>
> We have all the aggregate groups listed on http://data.worldbank.org/country.
> Click on any of the aggregate groups and you will go to that group's
> page which has all the countries in that group listed.
>
> Cheers,
> Sup
>
> On May 29, 10:02 am, Sarven Capadisli<i...@csarven.ca> wrote:
>> Hi,
>>
>> I was wondering if there is some data on aggregate "countries". For
>> instance, which countries are included in "Euro area" (XC), or "East
>> Asia& Pacific (developing only)" (4E)?

Shanmugam Natarajan

unread,
May 29, 2012, 3:59:59 PM5/29/12
to world-b...@googlegroups.com
Hi Sarven,

API calls exist to provide list of countries for the given region/income/lending aggregate group.

For ex. api calls,
To get the list of countries for 'Euro Area'
      http://api.worldbank.org/en/countries?regions=EMU

To get the list of countries for 'East Asis & Pacific (developing only)'
     http://api.worldbank.org/en/countries?regions=EAP

you can find region and its aggregate group codes at http://api.worldbank.org/en/regions

Please refer API query builder at http://data.worldbank.org/querybuilder by selecting 'countries' to derive api calls for the different combinations of region/income/lending and its aggregate groups.

Thanks,
Shanmugam

Sarven Capadisli

unread,
May 29, 2012, 5:01:07 PM5/29/12
to world-b...@googlegroups.com
Thanks Shanmugam, I've totally forgot about the aggregate API calls. I
should be able to get the information I need through that.

I think the core issue that I'm having is the fact that an area like EMU
is declared under countries and regions:

http://api.worldbank.org/en/countries/EMU
http://api.worldbank.org/en/regions/EMU

The World Development Indicators use country as one of the dimensions
for its observations. In this case, EMU occurs in one of those
dimensions as a country (as opposed to a region).

Why are regions mentioned as aggregate countries in the API?

Wouldn't it make more sense to exclude all aggregate countries from the
countries API output, and use the appropriate dimension node/value in
the Indicators API i.e., if the observation is about a country, use the
country code, if it is for a region or for certain income labels, use
the corresponding code?

I realize that this might not be a desired change in the API outputs,
but, I figured it might help me understand your process better.

Thanks again,

-Sarven

On 2012-05-29 20:59, Shanmugam Natarajan wrote:
> Hi Sarven,
>
> API calls exist to provide list of countries for the given
> region/income/lending aggregate group.
>
> For ex. api calls,
> To get the list of countries for 'Euro Area'
> http://api.worldbank.org/en/countries?regions=EMU
>
> To get the list of countries for 'East Asis & Pacific (developing only)'
> http://api.worldbank.org/en/countries?regions=EAP
>
> you can find region and its aggregate group codes at
> http://api.worldbank.org/en/regions
>
> Please refer API query builder at http://data.worldbank.org/querybuilder
> by selecting 'countries' to derive api calls for the different
> combinations of region/income/lending and its aggregate groups.
>
> Thanks,
> Shanmugam
>
> On Tuesday, May 29, 2012 3:31:49 PM UTC-4, Sarven Capadisli wrote:
>
> Thanks Sup.
>
> I should have mentioned that I was hoping to find this information in
> the API. Does it exist? Otherwise, I'd have to either carry on this
> task
> manually or scrape the HTML page.
>
> -Sarven
>
> On 2012-05-29 19:01, sl...@worldbank.org
> <mailto:sl...@worldbank.org> wrote:
> > Hi Sarven,
> >
> > We have all the aggregate groups listed on
> http://data.worldbank.org/country <http://data.worldbank.org/country>.
> > Click on any of the aggregate groups and you will go to that group's
> > page which has all the countries in that group listed.
> >
> > Cheers,
> > Sup
> >
> > On May 29, 10:02 am, Sarven Capadisli<i...@csarven.ca> wrote:
> >> Hi,
> >>
> >> I was wondering if there is some data on aggregate "countries". For
> >> instance, which countries are included in "Euro area" (XC), or
> "East
> >> Asia& Pacific (developing only)" (4E)?
> >>
> >> Would you be able to provide a list of countries for all
> aggregates?
> >>
> >> Thanks,
> >>
> >> -Sarven
> >
> >
>
>
> On Tuesday, May 29, 2012 3:31:49 PM UTC-4, Sarven Capadisli wrote:
>
> Thanks Sup.
>
> I should have mentioned that I was hoping to find this information in
> the API. Does it exist? Otherwise, I'd have to either carry on this
> task
> manually or scrape the HTML page.
>
> -Sarven
>
> On 2012-05-29 19:01, sl...@worldbank.org
> <mailto:sl...@worldbank.org> wrote:
> > Hi Sarven,
> >
> > We have all the aggregate groups listed on
> http://data.worldbank.org/country <http://data.worldbank.org/country>.
Reply all
Reply to author
Forward
0 new messages