宿泊施設数の推移
施設数の推移を返します。
GET api/v1/tourism/hotelAnalysis/facilityStack
データ提供年
2011-2021年(毎年)
RESAS対象マップ
観光マップ > 国内 > 宿泊施設
- ※ リンク先のグラフ表示の際のパラメータは、すべて初期設定の値を使用しています。
parameters
Name | Description | Required |
---|---|---|
display |
表示方法 1 : 従業者規模別で表示する 2 : 宿泊施設タイプ別で表示する(デフォルト設定) |
|
unit |
表示単位 0 : 年単位で表示する(デフォルト設定) 1 : 月単位で表示する |
|
prefCode | 都道府県コード | true |
responses
Name | Description |
---|---|
/result/unit | 表示単位(0:年単位、1:月単位) |
/result/data/code |
display=1の時、従業員規模コード display=2の時、宿泊施設タイプコード |
/result/data/label |
display=1の時、従業員規模ラベル display=2の時、宿泊施設タイプラベル |
/result/data/years/year | 年 |
/result/data/years/month | 月(unit=0 の時は 0) |
/result/data/years/value | 宿泊施設数 |
sample
GET https://opendata.resas-portal.go.jp/api/v1/tourism/hotelAnalysis/facilityStack?display=1&unit=0&prefCode=1
{
"message": null,
"result": {
"unit": "0",
"data": [{
"code": "100",
"label": "すべての従業者規模",
"years": [{
"year": 2011,
"month": 0,
"value": 2625
}, {
"year": 2012,
"month": 0,
"value": 2618
}, {
"year": 2013,
"month": 0,
"value": 2546
}, {
"year": 2014,
"month": 0,
"value": 2497
}, {
"year": 2015,
"month": 0,
"value": 2525
}, {
"year": 2016,
"month": 0,
"value": 2500
}, {
"year": 2017,
"month": 0,
"value": 2520
}, {
"year": 2018,
"month": 0,
"value": 2580
}, {
"year": 2019,
"month": 0,
"value": 2546
}, {
"year": 2020,
"month": 0,
"value": 3683
}, {
"year": 2021,
"month": 0,
"value": 3705
}]
}, {
"code": "101",
"label": "0~9人",
"years": [{
"year": 2011,
"month": 0,
"value": 1970
}, {
"year": 2012,
"month": 0,
"value": 1975
}, {
"year": 2013,
"month": 0,
"value": 1892
}, {
"year": 2014,
"month": 0,
"value": 1848
}, {
"year": 2015,
"month": 0,
"value": 1872
}, {
"year": 2016,
"month": 0,
"value": 1834
}, {
"year": 2017,
"month": 0,
"value": 1841
}, {
"year": 2018,
"month": 0,
"value": 1878
}, {
"year": 2019,
"month": 0,
"value": 1843
}, {
"year": 2020,
"month": 0,
"value": 2898
}, {
"year": 2021,
"month": 0,
"value": 2931
}]
}, {
"code": "102",
"label": "10~29人",
"years": [{
"year": 2011,
"month": 0,
"value": 362
}, {
"year": 2012,
"month": 0,
"value": 354
}, {
"year": 2013,
"month": 0,
"value": 367
}, {
"year": 2014,
"month": 0,
"value": 353
}, {
"year": 2015,
"month": 0,
"value": 364
}, {
"year": 2016,
"month": 0,
"value": 366
}, {
"year": 2017,
"month": 0,
"value": 368
}, {
"year": 2018,
"month": 0,
"value": 381
}, {
"year": 2019,
"month": 0,
"value": 378
}, {
"year": 2020,
"month": 0,
"value": 446
}, {
"year": 2021,
"month": 0,
"value": 439
}]
}, {
"code": "103",
"label": "30~99人",
"years": [{
"year": 2011,
"month": 0,
"value": 219
}, {
"year": 2012,
"month": 0,
"value": 218
}, {
"year": 2013,
"month": 0,
"value": 215
}, {
"year": 2014,
"month": 0,
"value": 224
}, {
"year": 2015,
"month": 0,
"value": 217
}, {
"year": 2016,
"month": 0,
"value": 228
}, {
"year": 2017,
"month": 0,
"value": 234
}, {
"year": 2018,
"month": 0,
"value": 243
}, {
"year": 2019,
"month": 0,
"value": 249
}, {
"year": 2020,
"month": 0,
"value": 255
}, {
"year": 2021,
"month": 0,
"value": 255
}]
}, {
"code": "104",
"label": "100人以上",
"years": [{
"year": 2011,
"month": 0,
"value": 74
}, {
"year": 2012,
"month": 0,
"value": 71
}, {
"year": 2013,
"month": 0,
"value": 72
}, {
"year": 2014,
"month": 0,
"value": 72
}, {
"year": 2015,
"month": 0,
"value": 72
}, {
"year": 2016,
"month": 0,
"value": 72
}, {
"year": 2017,
"month": 0,
"value": 77
}, {
"year": 2018,
"month": 0,
"value": 78
}, {
"year": 2019,
"month": 0,
"value": 76
}, {
"year": 2020,
"month": 0,
"value": 84
}, {
"year": 2021,
"month": 0,
"value": 80
}]
}]
}
}