Get-stats-demographics

From UNHCR
Jump to: navigation, search


Returns statistics for demographics of persons of concern.

Resource URL


http://data.unhcr.org/api/stats/demographics.json


Parameters


year

required

The year of the desired data

Example Values: 2013

country_of_residence

optional

Three letter acronym of country of residence

Example Values: CHE


Example Request


GET http://data.unhcr.org/api/stats/demographics.json?year=2013&country_of_residence=CHE
[
    {
        "year": "2013",
        "country_of_residence": "CHE",
        "country_of_residence_en": "Switzerland",
        "location_name": "Dispersed in country",
        "female_0_4": "1794",
        "female_5_11": "2258",
        "female_12_17": "1659",
        "female_18_59": "10882",
        "female_60": "674",
        "female_other_value": null,
        "female_total_value": "30511",
        "male_0_4": "1933",
        "male_5_11": "2465",
        "male_12_17": "2083",
        "male_18_59": "18516",
        "male_60": "437",
        "male_other_value": null,
        "male_total_value": "42094",
        "total_value": "72605"
    }
]