年齢階級別純移動数 new
年齢階級別純移動数を返します。
GET api/v1/population/society/forAgeClass
データ提供年
2010-2022年(毎年)
RESAS対象マップ
人口マップ > 人口の社会増減
- ※ リンク先のグラフ表示の際のパラメータは、すべて初期設定の値を使用しています。
parameters
Name | Description | Required |
---|---|---|
prefCode | 都道府県コード | true |
cityCode |
市区町村コード 「すべての市区町村」を選択する場合は「-」を送ります。 |
responses
Name | Description |
---|---|
/result/data/year | 年 |
/result/data/positiveAgeClasses/ageClass | 増加年齢階級コード |
/result/data/positiveAgeClasses/age | 増加年齢階級 |
/result/data/positiveAgeClasses/value | 移動数 |
/result/data/negativeAgeClasses/ageClass | 減少年齢階級コード |
/result/data/negativeAgeClasses/age | 減少年齢階級 |
/result/data/negativeAgeClasses/value | 移動数 |
/result/data/total/value | 純移動数 |
sample
GET https://opendata.resas-portal.go.jp/api/v1/population/society/forAgeClass?prefCode=13&cityCode=13101
{
"message": null,
"result": {
"data": [{
"year": 2010,
"positiveAgeClasses": [{
"ageClass": 1,
"age": "0~14歳",
"value": 119
}, {
"ageClass": 2,
"age": "15~64歳",
"value": 609
}],
"negativeAgeClasses": [{
"ageClass": 3,
"age": "65歳~",
"value": -67
}],
"total": {
"value": 661
}
}, {
"year": 2011,
"positiveAgeClasses": [{
"ageClass": 1,
"age": "0~14歳",
"value": 134
}, {
"ageClass": 2,
"age": "15~64歳",
"value": 626
}],
"negativeAgeClasses": [{
"ageClass": 3,
"age": "65歳~",
"value": -61
}],
"total": {
"value": 699
}
}, {
"year": 2012,
"positiveAgeClasses": [{
"ageClass": 1,
"age": "0~14歳",
"value": 115
}, {
"ageClass": 2,
"age": "15~64歳",
"value": 1023
}],
"negativeAgeClasses": [{
"ageClass": 3,
"age": "65歳~",
"value": -61
}],
"total": {
"value": 1077
}
}, {
"year": 2013,
"positiveAgeClasses": [{
"ageClass": 1,
"age": "0~14歳",
"value": 254
}, {
"ageClass": 2,
"age": "15~64歳",
"value": 1724
}],
"negativeAgeClasses": [{
"ageClass": 3,
"age": "65歳~",
"value": -31
}],
"total": {
"value": 1947
}
}, {
"year": 2014,
"positiveAgeClasses": [{
"ageClass": 1,
"age": "0~14歳",
"value": 351
}, {
"ageClass": 2,
"age": "15~64歳",
"value": 2032
}, {
"ageClass": 3,
"age": "65歳~",
"value": 94
}],
"total": {
"value": 2477
}
}, {
"year": 2015,
"positiveAgeClasses": [{
"ageClass": 1,
"age": "0~14歳",
"value": 150
}, {
"ageClass": 2,
"age": "15~64歳",
"value": 1321
}],
"negativeAgeClasses": [{
"ageClass": 3,
"age": "65歳~",
"value": -91
}],
"total": {
"value": 1380
}
}, {
"year": 2016,
"positiveAgeClasses": [{
"ageClass": 1,
"age": "0~14歳",
"value": 80
}, {
"ageClass": 2,
"age": "15~64歳",
"value": 859
}],
"negativeAgeClasses": [{
"ageClass": 3,
"age": "65歳~",
"value": -58
}],
"total": {
"value": 881
}
}, {
"year": 2017,
"positiveAgeClasses": [{
"ageClass": 1,
"age": "0~14歳",
"value": 152
}, {
"ageClass": 2,
"age": "15~64歳",
"value": 954
}],
"negativeAgeClasses": [{
"ageClass": 3,
"age": "65歳~",
"value": -24
}],
"total": {
"value": 1082
}
}, {
"year": 2018,
"positiveAgeClasses": [{
"ageClass": 1,
"age": "0~14歳",
"value": 246
}, {
"ageClass": 2,
"age": "15~64歳",
"value": 1694
}],
"negativeAgeClasses": [{
"ageClass": 3,
"age": "65歳~",
"value": -44
}],
"total": {
"value": 1896
}
}, {
"year": 2019,
"positiveAgeClasses": [{
"ageClass": 1,
"age": "0~14歳",
"value": 175
}, {
"ageClass": 2,
"age": "15~64歳",
"value": 1503
}, {
"ageClass": 3,
"age": "65歳~",
"value": 8
}],
"total": {
"value": 1686
}
}, {
"year": 2020,
"positiveAgeClasses": [{
"ageClass": 1,
"age": "0~14歳",
"value": 105
}, {
"ageClass": 2,
"age": "15~64歳",
"value": 820
}],
"negativeAgeClasses": [{
"ageClass": 3,
"age": "65歳~",
"value": -67
}],
"total": {
"value": 858
}
}, {
"year": 2021,
"positiveAgeClasses": [{
"ageClass": 2,
"age": "15~64歳",
"value": 4
}],
"negativeAgeClasses": [{
"ageClass": 1,
"age": "0~14歳",
"value": -162
}, {
"ageClass": 3,
"age": "65歳~",
"value": -17
}],
"total": {
"value": -175
}
}, {
"year": 2022,
"positiveAgeClasses": [{
"ageClass": 2,
"age": "15~64歳",
"value": 117
}],
"negativeAgeClasses": [{
"ageClass": 1,
"age": "0~14歳",
"value": -240
}, {
"ageClass": 3,
"age": "65歳~",
"value": -30
}],
"total": {
"value": -153
}
}]
}
}