RESAS

はじめに
RESAS-API一覧
共通
人口マップ
産業構造マップ
企業活動マップ
観光マップ
まちづくりマップ
雇用/医療・福祉マップ
地方財政マップ
コード一覧

延べ宿泊者数前年比の推移 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.69
            }, {
                "year": 2019,
                "month": 0,
                "value": 4.74
            }, {
                "year": 2020,
                "month": 0,
                "value": -42.01
            }, {
                "year": 2021,
                "month": 0,
                "value": -11.1
            }]
        }, {
            "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.53
            }, {
                "year": 2017,
                "month": 0,
                "value": 3.68
            }, {
                "year": 2018,
                "month": 0,
                "value": -5.95
            }, {
                "year": 2019,
                "month": 0,
                "value": -7.02
            }, {
                "year": 2020,
                "month": 0,
                "value": -35.25
            }, {
                "year": 2021,
                "month": 0,
                "value": -36.52
            }]
        }, {
            "label": "リゾートホテル",
            "data": [{
                "year": 2012,
                "month": 0,
                "value": -1.57
            }, {
                "year": 2013,
                "month": 0,
                "value": 1.89
            }, {
                "year": 2014,
                "month": 0,
                "value": -2.47
            }, {
                "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.07
            }, {
                "year": 2019,
                "month": 0,
                "value": 4.15
            }, {
                "year": 2020,
                "month": 0,
                "value": -41.3
            }, {
                "year": 2021,
                "month": 0,
                "value": -26.12
            }]
        }, {
            "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.19
            }, {
                "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.93
            }, {
                "year": 2015,
                "month": 0,
                "value": 8.43
            }, {
                "year": 2016,
                "month": 0,
                "value": -0.5
            }, {
                "year": 2017,
                "month": 0,
                "value": 10.75
            }, {
                "year": 2018,
                "month": 0,
                "value": -3.1
            }, {
                "year": 2019,
                "month": 0,
                "value": 4.85
            }, {
                "year": 2020,
                "month": 0,
                "value": -56.68
            }, {
                "year": 2021,
                "month": 0,
                "value": -14.41
            }]
        }, {
            "label": "会社・団体の宿泊所",
            "data": [{
                "year": 2012,
                "month": 0,
                "value": 2.34
            }, {
                "year": 2013,
                "month": 0,
                "value": -7.52
            }, {
                "year": 2014,
                "month": 0,
                "value": 4.27
            }, {
                "year": 2015,
                "month": 0,
                "value": -14.47
            }, {
                "year": 2016,
                "month": 0,
                "value": 23.28
            }, {
                "year": 2017,
                "month": 0,
                "value": -10.99
            }, {
                "year": 2018,
                "month": 0,
                "value": -4.78
            }, {
                "year": 2019,
                "month": 0,
                "value": 83.55
            }, {
                "year": 2020,
                "month": 0,
                "value": -66
            }, {
                "year": 2021,
                "month": 0,
                "value": -23.78
            }]
        }, {
            "label": "簡易宿所・その他",
            "data": [{
                "year": 2012,
                "month": 0,
                "value": -12.24
            }, {
                "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.29
            }, {
                "year": 2021,
                "month": 0,
                "value": -5.53
            }]
        }]
    }
}