延べ宿泊者数前年比の推移 new
延べ宿泊者数前年比の推移を返します。
GET api/v1/tourism/hotelAnalysis/groupLine
データ提供年
2011-2021年(毎年)
RESAS対象マップ
観光マップ > 国内 > 宿泊施設
- ※ リンク先のグラフ表示の際のパラメータは、すべて初期設定の値を使用しています。
parameters
Name | Description | Required |
---|---|---|
matter |
表示内容 1 : 延べ宿泊者数(総数) 2 : 延べ宿泊者数(日本人) 3 : 延べ宿泊者数(外国人) |
true |
display |
表示方法 1 : 従業者規模別で表示する(matter=1の時のみ) 2 : 宿泊施設タイプ別で表示する(デフォルト設定) |
|
unit |
表示単位 0 : 年単位で表示する(デフォルト設定) 1 : 月単位で表示する |
|
prefCode | 都道府県コード | true |
responses
Name | Description |
---|---|
/result/unit | 表示単位(0:年単位、1:月単位) |
/result/prefName | 都道府県名 |
/result/changes/label |
表示内容 display=1の時、従業者規模ラベル display=2の時、宿泊施設タイプラベル |
/result/changes/data/year | 年 |
/result/changes/data/month | 月(unit=0 の時は 0) |
/result/changes/data/value |
unit=0の時、延べ宿泊者数前年比 unit=1の時、延べ宿泊者数前年同月比 |
sample
GET https://opendata.resas-portal.go.jp/api/v1/tourism/hotelAnalysis/groupLine?matter=1&display=2&unit=0&prefCode=1
{
"message": null,
"result": {
"unit": "0",
"prefName": "北海道",
"changes": [{
"label": "すべての宿泊施設タイプ",
"data": [{
"year": 2012,
"month": 0,
"value": 4.76
}, {
"year": 2013,
"month": 0,
"value": 8.32
}, {
"year": 2014,
"month": 0,
"value": 0.03
}, {
"year": 2015,
"month": 0,
"value": 5.2
}, {
"year": 2016,
"month": 0,
"value": 2.96
}, {
"year": 2017,
"month": 0,
"value": 5.97
}, {
"year": 2018,
"month": 0,
"value": -0.7
}, {
"year": 2019,
"month": 0,
"value": 4.74
}, {
"year": 2020,
"month": 0,
"value": -42.02
}, {
"year": 2021,
"month": 0,
"value": -11.11
}]
}, {
"label": "旅館",
"data": [{
"year": 2012,
"month": 0,
"value": 11.33
}, {
"year": 2013,
"month": 0,
"value": 5.72
}, {
"year": 2014,
"month": 0,
"value": 1.17
}, {
"year": 2015,
"month": 0,
"value": 1.69
}, {
"year": 2016,
"month": 0,
"value": -8.54
}, {
"year": 2017,
"month": 0,
"value": 3.68
}, {
"year": 2018,
"month": 0,
"value": -5.96
}, {
"year": 2019,
"month": 0,
"value": -7.03
}, {
"year": 2020,
"month": 0,
"value": -35.26
}, {
"year": 2021,
"month": 0,
"value": -36.53
}]
}, {
"label": "リゾートホテル",
"data": [{
"year": 2012,
"month": 0,
"value": -1.58
}, {
"year": 2013,
"month": 0,
"value": 1.89
}, {
"year": 2014,
"month": 0,
"value": -2.48
}, {
"year": 2015,
"month": 0,
"value": 7.24
}, {
"year": 2016,
"month": 0,
"value": 12.05
}, {
"year": 2017,
"month": 0,
"value": 2.93
}, {
"year": 2018,
"month": 0,
"value": -8.08
}, {
"year": 2019,
"month": 0,
"value": 4.15
}, {
"year": 2020,
"month": 0,
"value": -41.31
}, {
"year": 2021,
"month": 0,
"value": -26.13
}]
}, {
"label": "ビジネスホテル",
"data": [{
"year": 2012,
"month": 0,
"value": 3.41
}, {
"year": 2013,
"month": 0,
"value": 11.05
}, {
"year": 2014,
"month": 0,
"value": 0.71
}, {
"year": 2015,
"month": 0,
"value": 5.93
}, {
"year": 2016,
"month": 0,
"value": 9.22
}, {
"year": 2017,
"month": 0,
"value": 4.38
}, {
"year": 2018,
"month": 0,
"value": 4.25
}, {
"year": 2019,
"month": 0,
"value": 7.95
}, {
"year": 2020,
"month": 0,
"value": -37.2
}, {
"year": 2021,
"month": 0,
"value": 6.5
}]
}, {
"label": "シティホテル",
"data": [{
"year": 2012,
"month": 0,
"value": 5.27
}, {
"year": 2013,
"month": 0,
"value": 12.5
}, {
"year": 2014,
"month": 0,
"value": -1.94
}, {
"year": 2015,
"month": 0,
"value": 8.43
}, {
"year": 2016,
"month": 0,
"value": -0.51
}, {
"year": 2017,
"month": 0,
"value": 10.75
}, {
"year": 2018,
"month": 0,
"value": -3.11
}, {
"year": 2019,
"month": 0,
"value": 4.85
}, {
"year": 2020,
"month": 0,
"value": -56.69
}, {
"year": 2021,
"month": 0,
"value": -14.42
}]
}, {
"label": "会社・団体の宿泊所",
"data": [{
"year": 2012,
"month": 0,
"value": 2.34
}, {
"year": 2013,
"month": 0,
"value": -7.53
}, {
"year": 2014,
"month": 0,
"value": 4.27
}, {
"year": 2015,
"month": 0,
"value": -14.48
}, {
"year": 2016,
"month": 0,
"value": 23.28
}, {
"year": 2017,
"month": 0,
"value": -11
}, {
"year": 2018,
"month": 0,
"value": -4.79
}, {
"year": 2019,
"month": 0,
"value": 83.55
}, {
"year": 2020,
"month": 0,
"value": -66.01
}, {
"year": 2021,
"month": 0,
"value": -23.79
}]
}, {
"label": "簡易宿所・その他",
"data": [{
"year": 2012,
"month": 0,
"value": -12.25
}, {
"year": 2013,
"month": 0,
"value": 4.69
}, {
"year": 2014,
"month": 0,
"value": 7.69
}]
}, {
"label": "簡易宿所",
"data": [{
"year": 2015,
"month": 0,
"value": null
}, {
"year": 2016,
"month": 0,
"value": 19.51
}, {
"year": 2017,
"month": 0,
"value": 33.08
}, {
"year": 2018,
"month": 0,
"value": 28.96
}, {
"year": 2019,
"month": 0,
"value": 29.96
}, {
"year": 2020,
"month": 0,
"value": -43.3
}, {
"year": 2021,
"month": 0,
"value": -5.54
}]
}]
}
}