滞在先の居住地別人数
滞在先の居住地別人数を返します。
GET api/v1/partner/docomo/destination
データ提供年
2015年9月-2016年8月(毎月)
RESAS対象マップ
まちづくりマップ
- ※ RESASに対応するページなし。RESAS-APIが独自に提供しているデータです。
parameters
Name | Description | Required |
---|---|---|
year | 年度 | true |
month | 月(MM) | true |
periodOfDay |
平休日コード
|
true |
periodOfTime |
時間帯
|
true |
gender |
性別区分
|
true |
ageRange |
年齢区分
|
true |
prefCodeDestination |
滞在地都道府県コード 都道府県コードを指定 |
true |
cityCodeDestination |
滞在地市区町村コード 市区町村コードを指定 |
true |
prefCodeResidence |
居住地都道府県コード 都道府県コードを指定。全ての都道府県指定の場合、「-」で送る |
true |
cityCodeResidence |
居住地市区町村コード 市区町村コードを指定。全ての市区町村指定の場合、「-」で送る |
true |
responses
Name | Description |
---|---|
/result/total | 合計人数 |
/result/prefs/prefCode | 居住地都道府県コード |
/result/prefs/prefName | 居住地都道府県名 |
/result/prefs/total | 都道府県ごとの合計人数 |
/result/prefs/cities/cityCode | 居住地市区町村コード |
/result/prefs/cities/cityName | 居住地市区町村指名 |
/result/prefs/cities/total | 市区町村ごとの合計人数 |
/result/prefs/cities/genders/gender | 性別区分(1:男性, 2:女性 |
/result/prefs/cities/genders/total | 性別区分ごとの合計人数 |
/result/prefs/cities/genders/ageRanges/ageRange | 年齢区分(15 : 15 ~ 19歳, 20 : 20 ~ 29歳, 30 : 30 ~ 39歳, 40 : 40 ~ 49歳, 50 : 50 ~ 59歳, 60 : 60 ~ 69歳, 70 : 70 ~ 79歳 |
/result/prefs/cities/genders/ageRanges/value | 人数 |
sample
GET https://opendata.resas-portal.go.jp/api/v1/partner/docomo/destination?year=2016&month=01&periodOfDay=1&periodOfTime=4&gender=1&ageRange=15&prefCodeDestination=13&cityCodeDestination=13101&prefCodeResidence=13&cityCodeResidence=-
{
"message": null,
"result": {
"total": 1016,
"prefs": [{
"prefCode": 13,
"prefName": "東京都",
"total": 1016,
"cities": [{
"cityCode": "13101",
"cityName": "千代田区",
"total": 858,
"genders": [{
"gender": "1",
"total": 858,
"ageRanges": [{
"ageRange": 15,
"value": 858
}]
}]
}, {
"cityCode": "13104",
"cityName": "新宿区",
"total": 10,
"genders": [{
"gender": "1",
"total": 10,
"ageRanges": [{
"ageRange": 15,
"value": 10
}]
}]
}, {
"cityCode": "13105",
"cityName": "文京区",
"total": 11,
"genders": [{
"gender": "1",
"total": 11,
"ageRanges": [{
"ageRange": 15,
"value": 11
}]
}]
}, {
"cityCode": "13107",
"cityName": "墨田区",
"total": 11,
"genders": [{
"gender": "1",
"total": 11,
"ageRanges": [{
"ageRange": 15,
"value": 11
}]
}]
}, {
"cityCode": "13108",
"cityName": "江東区",
"total": 12,
"genders": [{
"gender": "1",
"total": 12,
"ageRanges": [{
"ageRange": 15,
"value": 12
}]
}]
}, {
"cityCode": "13111",
"cityName": "大田区",
"total": 11,
"genders": [{
"gender": "1",
"total": 11,
"ageRanges": [{
"ageRange": 15,
"value": 11
}]
}]
}, {
"cityCode": "13112",
"cityName": "世田谷区",
"total": 12,
"genders": [{
"gender": "1",
"total": 12,
"ageRanges": [{
"ageRange": 15,
"value": 12
}]
}]
}, {
"cityCode": "13114",
"cityName": "中野区",
"total": 11,
"genders": [{
"gender": "1",
"total": 11,
"ageRanges": [{
"ageRange": 15,
"value": 11
}]
}]
}, {
"cityCode": "13115",
"cityName": "杉並区",
"total": 12,
"genders": [{
"gender": "1",
"total": 12,
"ageRanges": [{
"ageRange": 15,
"value": 12
}]
}]
}, {
"cityCode": "13119",
"cityName": "板橋区",
"total": 12,
"genders": [{
"gender": "1",
"total": 12,
"ageRanges": [{
"ageRange": 15,
"value": 12
}]
}]
}, {
"cityCode": "13120",
"cityName": "練馬区",
"total": 10,
"genders": [{
"gender": "1",
"total": 10,
"ageRanges": [{
"ageRange": 15,
"value": 10
}]
}]
}, {
"cityCode": "13121",
"cityName": "足立区",
"total": 13,
"genders": [{
"gender": "1",
"total": 13,
"ageRanges": [{
"ageRange": 15,
"value": 13
}]
}]
}, {
"cityCode": "13122",
"cityName": "葛飾区",
"total": 12,
"genders": [{
"gender": "1",
"total": 12,
"ageRanges": [{
"ageRange": 15,
"value": 12
}]
}]
}, {
"cityCode": "13123",
"cityName": "江戸川区",
"total": 11,
"genders": [{
"gender": "1",
"total": 11,
"ageRanges": [{
"ageRange": 15,
"value": 11
}]
}]
}, {
"cityCode": "13214",
"cityName": "国分寺市",
"total": 10,
"genders": [{
"gender": "1",
"total": 10,
"ageRanges": [{
"ageRange": 15,
"value": 10
}]
}]
}]
}]
}
}