林作業請負収入金額帯別の経営体割合
地域単位、年単位の林作業請負収入金額帯別の経営体割合を返します。
GET  api/v1/forestry/income/forContractRevenueRatioデータ提供年
2005-2020年(5年毎)
RESAS対象マップ
産業構造マップ > 林業 > 林業総収入
- ※ リンク先のグラフ表示の際のパラメータは、すべて初期設定の値を使用しています。
parameters
| Name | Description | Required | 
|---|---|---|
| prefCode | 都道府県コード | true | 
| cityCode | 市区町村コード 「すべての市区町村」を選択する場合は「-」を送ります。 | true | 
| matter | 表示内容 1:指定地域 2:都道府県内平均 3:全国平均 | true | 
| addArea | 追加エリアコード 他地域と合算した値を取得する際に使用するパラメータです。 「addArea=都道府県コード_市区町村コード」の形式で指定します。 複数指定する場合は「addArea=1_01100,13_13101」などのように、「,」 で各地域のパラメータを区切ります。 都道府県単位で指定する場合、「addArea=1_,13_」の形式で指定します。 最大10個指定でき、11個以上送られてきた場合はステータスコード400を返します。 「cityCode」で「すべての市区町村」(-)を選択した場合、addAreaで合算されるのは、都道府県単位の数値となります。 また、「cityCode」でいずれかの市区町村(13101など)を選択した場合、addAreaで合算されるのは、市区町村単位の数値となります。 | 
responses
| Name | Description | 
|---|---|
| /result/prefCode | 対象の県コード | 
| /result/prefName | 対象の県名 | 
| /result/cityCode | 対象の市町村コード | 
| /result/cityName | 対象の市町村名 | 
| /result/matter | 表示内容 | 
| /result/legened/label | 販売金額帯名 | 
| /result/legened/code | 販売金額帯コード 1:100万円未満 2:100万円以上1,000万円未満 3:1,000万円以上5,000万円未満 4:5,000万円以上1億円未満 5:1億円以上 | 
| /result/years/year | 年 | 
| /result/years/label | ラベル | 
| /result/years/data/label | 販売金額帯名 | 
| /result/years/data/code | 販売金額帯コード 1:100万円未満 2:100万円以上1,000万円未満 3:1,000万円以上5,000万円未満 4:5,000万円以上1億円未満 5:1億円以上 | 
| /result/years/data/value | 割合 | 
sample
GET https://opendata.resas-portal.go.jp/api/v1/forestry/income/forContractRevenueRatio?prefCode=-&cityCode=-&matter=3{
    "message": null,
    "result": {
        "prefCode": "",
        "prefName": "",
        "cityCode": "",
        "cityName": "",
        "matter": 3,
        "legend": [{
            "label": "100万円未満",
            "code": "1"
        }, {
            "label": "100万円以上1,000万円未満",
            "code": "2"
        }, {
            "label": "1,000万円以上5,000万円未満",
            "code": "3"
        }, {
            "label": "5,000万円以上1億円未満",
            "code": "4"
        }, {
            "label": "1億円以上",
            "code": "5"
        }],
        "years": [{
            "year": 2005,
            "label": "全国平均",
            "data": [{
                "label": "100万円未満",
                "code": "1",
                "value": 28.44
            }, {
                "label": "100万円以上1,000万円未満",
                "code": "2",
                "value": 37.63
            }, {
                "label": "1,000万円以上5,000万円未満",
                "code": "3",
                "value": 21.64
            }, {
                "label": "5,000万円以上1億円未満",
                "code": "4",
                "value": 6.25
            }, {
                "label": "1億円以上",
                "code": "5",
                "value": 6.04
            }]
        }, {
            "year": 2010,
            "label": "全国平均",
            "data": [{
                "label": "100万円未満",
                "code": "1",
                "value": 43.43
            }, {
                "label": "100万円以上1,000万円未満",
                "code": "2",
                "value": 29.95
            }, {
                "label": "1,000万円以上5,000万円未満",
                "code": "3",
                "value": 15.2
            }, {
                "label": "5,000万円以上1億円未満",
                "code": "4",
                "value": 5.04
            }, {
                "label": "1億円以上",
                "code": "5",
                "value": 6.38
            }]
        }, {
            "year": 2015,
            "label": "全国平均",
            "data": [{
                "label": "100万円未満",
                "code": "1",
                "value": 29.77
            }, {
                "label": "100万円以上1,000万円未満",
                "code": "2",
                "value": 28.86
            }, {
                "label": "1,000万円以上5,000万円未満",
                "code": "3",
                "value": 22.16
            }, {
                "label": "5,000万円以上1億円未満",
                "code": "4",
                "value": 8.76
            }, {
                "label": "1億円以上",
                "code": "5",
                "value": 10.45
            }]
        }, {
            "year": 2020,
            "label": "全国平均",
            "data": [{
                "label": "100万円未満",
                "code": "1",
                "value": 18.09
            }, {
                "label": "100万円以上1,000万円未満",
                "code": "2",
                "value": 25.71
            }, {
                "label": "1,000万円以上5,000万円未満",
                "code": "3",
                "value": 26.16
            }, {
                "label": "5,000万円以上1億円未満",
                "code": "4",
                "value": 13.53
            }, {
                "label": "1億円以上",
                "code": "5",
                "value": 16.51
            }]
        }]
    }
}