RESAS

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

客室稼働率の推移

客室稼働率の推移を返します。

GET  api/v1/tourism/hotelAnalysis/guestRoomLine

データ提供年

2011-2021年(毎年)

RESAS対象マップ

観光マップ > 国内 > 宿泊施設

  • リンク先のグラフ表示の際のパラメータは、すべて初期設定の値を使用しています。

parameters

Name Description Required
display

表示方法

1 : 従業者規模別で表示する

2 : 宿泊施設タイプ別で表示する(デフォルト設定)

unit

表示単位

0 : 年単位で表示する(デフォルト設定)

1 : 月単位で表示する

prefCode 都道府県コード true

responses

Name Description
/result/unit 表示単位(0:年単位、1:月単位)
/result/changes/label

ラベル

display=1 の時、従業者規模ラベル

display=2 の時、宿泊施設タイプラベル

/result/changes/data/year
/result/changes/data/month 月(unit=0 の時は 0)
/result/changes/data/value 客室稼働率

sample

GET https://opendata.resas-portal.go.jp/api/v1/tourism/hotelAnalysis/guestRoomLine?display=1&unit=0&prefCode=1
{
    "message": null,
    "result": {
        "unit": "0",
        "changes": [{
            "label": "すべての従業者規模",
            "data": [{
                "year": 2011,
                "month": 0,
                "value": 52.3
            }, {
                "year": 2012,
                "month": 0,
                "value": 54.3
            }, {
                "year": 2013,
                "month": 0,
                "value": 56.3
            }, {
                "year": 2014,
                "month": 0,
                "value": 57.8
            }, {
                "year": 2015,
                "month": 0,
                "value": 61.8
            }, {
                "year": 2016,
                "month": 0,
                "value": 61.7
            }, {
                "year": 2017,
                "month": 0,
                "value": 63.5
            }, {
                "year": 2018,
                "month": 0,
                "value": 63.2
            }, {
                "year": 2019,
                "month": 0,
                "value": 65.3
            }, {
                "year": 2020,
                "month": 0,
                "value": 34.5
            }, {
                "year": 2021,
                "month": 0,
                "value": 32.7
            }]
        }, {
            "label": "0~9人",
            "data": [{
                "year": 2011,
                "month": 0,
                "value": null
            }, {
                "year": 2012,
                "month": 0,
                "value": null
            }, {
                "year": 2013,
                "month": 0,
                "value": null
            }, {
                "year": 2014,
                "month": 0,
                "value": null
            }, {
                "year": 2015,
                "month": 0,
                "value": 34.9
            }, {
                "year": 2016,
                "month": 0,
                "value": 34.4
            }, {
                "year": 2017,
                "month": 0,
                "value": 36.9
            }, {
                "year": 2018,
                "month": 0,
                "value": 40.4
            }, {
                "year": 2019,
                "month": 0,
                "value": 40.8
            }, {
                "year": 2020,
                "month": 0,
                "value": 24.4
            }, {
                "year": 2021,
                "month": 0,
                "value": 22.2
            }]
        }, {
            "label": "10~29人",
            "data": [{
                "year": 2011,
                "month": 0,
                "value": 55.3
            }, {
                "year": 2012,
                "month": 0,
                "value": 59.4
            }, {
                "year": 2013,
                "month": 0,
                "value": 62.7
            }, {
                "year": 2014,
                "month": 0,
                "value": 64
            }, {
                "year": 2015,
                "month": 0,
                "value": 66.7
            }, {
                "year": 2016,
                "month": 0,
                "value": 67.6
            }, {
                "year": 2017,
                "month": 0,
                "value": 69.6
            }, {
                "year": 2018,
                "month": 0,
                "value": 68.5
            }, {
                "year": 2019,
                "month": 0,
                "value": 71.3
            }, {
                "year": 2020,
                "month": 0,
                "value": 42.7
            }, {
                "year": 2021,
                "month": 0,
                "value": 41.8
            }]
        }, {
            "label": "30~99人",
            "data": [{
                "year": 2011,
                "month": 0,
                "value": 57.9
            }, {
                "year": 2012,
                "month": 0,
                "value": 61.2
            }, {
                "year": 2013,
                "month": 0,
                "value": 63.5
            }, {
                "year": 2014,
                "month": 0,
                "value": 65.2
            }, {
                "year": 2015,
                "month": 0,
                "value": 68.3
            }, {
                "year": 2016,
                "month": 0,
                "value": 70.4
            }, {
                "year": 2017,
                "month": 0,
                "value": 70.9
            }, {
                "year": 2018,
                "month": 0,
                "value": 70.2
            }, {
                "year": 2019,
                "month": 0,
                "value": 71.9
            }, {
                "year": 2020,
                "month": 0,
                "value": 39.9
            }, {
                "year": 2021,
                "month": 0,
                "value": 38
            }]
        }, {
            "label": "100人以上",
            "data": [{
                "year": 2011,
                "month": 0,
                "value": 62.1
            }, {
                "year": 2012,
                "month": 0,
                "value": 63.5
            }, {
                "year": 2013,
                "month": 0,
                "value": 66.2
            }, {
                "year": 2014,
                "month": 0,
                "value": 66.8
            }, {
                "year": 2015,
                "month": 0,
                "value": 74.3
            }, {
                "year": 2016,
                "month": 0,
                "value": 74.7
            }, {
                "year": 2017,
                "month": 0,
                "value": 75.6
            }, {
                "year": 2018,
                "month": 0,
                "value": 73.5
            }, {
                "year": 2019,
                "month": 0,
                "value": 73.5
            }, {
                "year": 2020,
                "month": 0,
                "value": 31.6
            }, {
                "year": 2021,
                "month": 0,
                "value": 26.6
            }]
        }]
    }
}