Module: Resas::Api::ClientExt::Endpoints

Defined in:
lib/resas/api/client_ext/endpoints.rb

Overview

各 API のエンドポイントに直接アクセスするためのメソッドを格納するモジュール

See Also:

  • > 一覧 (https://opendata.resas-portal.go.jp/docs/api/v1/index.html)

共通 > 都道府県、市区町村 collapse

共通 > 産業 (industries) collapse

共通 > 職業 (jobs) collapse

共通 > 特許 (patents) collapse

共通 > 世界の地域・国 (regions) collapse

共通 > 輸出入花火図 (tradeInfoItemTypes) collapse

共通 > その他 collapse

産業 (industry) collapse

農林水産業 > 農業 (agriculture) collapse

農林水産業 > 林業 (forestry) collapse

農林水産業 > 水産業 (fishery) collapse

観光 (tourism) collapse

人口 (population) collapse

自治体比較 (municipality) collapse

Instance Method Details

#agriculture_all_for_stacked(params = {}) ⇒ Object

農業部門別販売金額 (agriculture/all/forStacked)



185
186
187
# File 'lib/resas/api/client_ext/endpoints.rb', line 185

def agriculture_all_for_stacked( params = {} )
  get( 'agriculture/all/forStacked', params )
end

#agriculture_crops_average_of_corporate(params = {}) ⇒ Object

農業経営体の法人化率 (agriculture/crops/averageOfCorporate)



215
216
217
# File 'lib/resas/api/client_ext/endpoints.rb', line 215

def agriculture_crops_average_of_corporate( params = {} )
  get( 'agriculture/crops/averageOfCorporate', params )
end

#agriculture_crops_farmers_age_structure(params = {}) ⇒ Object

農業経営者・農業就業人口の年齢構成 (agriculture/crops/farmersAgeStructure)



200
201
202
# File 'lib/resas/api/client_ext/endpoints.rb', line 200

def agriculture_crops_farmers_age_structure( params = {} )
  get( 'agriculture/crops/farmersAgeStructure', params )
end

#agriculture_crops_farmers_average_age(params = {}) ⇒ Object

農業経営者・農業就業人口の平均年齢 (agriculture/crops/farmersAverageAge)



205
206
207
# File 'lib/resas/api/client_ext/endpoints.rb', line 205

def agriculture_crops_farmers_average_age( params = {} )
  get( 'agriculture/crops/farmersAverageAge', params )
end

農業生産関連事業の実施状況(経営体数) (agriculture/crops/relatedBusiness)



210
211
212
# File 'lib/resas/api/client_ext/endpoints.rb', line 210

def agriculture_crops_related_business( params = {} )
  get( 'agriculture/crops/relatedBusiness', params )
end

#agriculture_crops_sales(params = {}) ⇒ Object

農産物販売金額(人日あたり) (agriculture/crops/sales)



195
196
197
# File 'lib/resas/api/client_ext/endpoints.rb', line 195

def agriculture_crops_sales( params = {} )
  get( 'agriculture/crops/sales', params )
end

#agriculture_crops_working_days(params = {}) ⇒ Object

年間延べ農作業日数 (agriculture/crops/workingDays)



190
191
192
# File 'lib/resas/api/client_ext/endpoints.rb', line 190

def agriculture_crops_working_days( params = {} )
  get( 'agriculture/crops/workingDays', params )
end

#agriculture_land_for_abandonment(params = {}) ⇒ Object

耕作放棄地率 (agriculture/land/forAbandonment)



180
181
182
# File 'lib/resas/api/client_ext/endpoints.rb', line 180

def agriculture_land_for_abandonment( params = {} )
  get( 'agriculture/land/forAbandonment', params )
end

#agriculture_land_for_mobility(params = {}) ⇒ Object

農地流動化率 (agriculture/land/forMobility)



175
176
177
# File 'lib/resas/api/client_ext/endpoints.rb', line 175

def agriculture_land_for_mobility( params = {} )
  get( 'agriculture/land/forMobility', params )
end

#agriculture_land_for_stacked(params = {}) ⇒ Object

経営耕地面積 (agriculture/land/forStacked)



165
166
167
# File 'lib/resas/api/client_ext/endpoints.rb', line 165

def agriculture_land_for_stacked( params = {} )
  get( 'agriculture/land/forStacked', params )
end

#agriculture_land_ratio(params = {}) ⇒ Object

経営耕地面積規模別の経営体割合 (agriculture/land/Ratio)



170
171
172
# File 'lib/resas/api/client_ext/endpoints.rb', line 170

def agriculture_land_ratio( params = {} )
  get( 'agriculture/land/Ratio', params )
end

#agriculture_sales_ship_ratio(params = {}) ⇒ Object

農産物の出荷先別経営体数割合 (agriculture/sales/shipRatio)



160
161
162
# File 'lib/resas/api/client_ext/endpoints.rb', line 160

def agriculture_sales_ship_ratio( params = {} )
  get( 'agriculture/sales/shipRatio', params )
end

#agriculture_sales_ship_value(params = {}) ⇒ Object

農産物の出荷先別販売金額構成 (agriculture/sales/shipValue)



155
156
157
# File 'lib/resas/api/client_ext/endpoints.rb', line 155

def agriculture_sales_ship_value( params = {} )
  get( 'agriculture/sales/shipValue', params )
end

#cities(params = {}) ⇒ Object

市区町村一覧 (cities)



24
25
26
# File 'lib/resas/api/client_ext/endpoints.rb', line 24

def cities( params = {} )
  get( 'cities', params )
end

#customs(params = {}) ⇒ Object

税関 (customs)



111
112
113
# File 'lib/resas/api/client_ext/endpoints.rb', line 111

def customs( params = {} )
  get( 'customs', params )
end

#fishery_sea_aquaculture_management_unit_sales(params = {}) ⇒ Object

海面養殖販売金額(経営体あたり) (fishery/sea/aquacultureManagementUnitSales)



294
295
296
# File 'lib/resas/api/client_ext/endpoints.rb', line 294

def fishery_sea_aquaculture_management_unit_sales( params = {} )
  get( 'fishery/sea/aquacultureManagementUnitSales', params )
end

#fishery_sea_aquaculture_sales(params = {}) ⇒ Object

海面養殖販売金額帯別の経営体割合 (fishery/sea/aquacultureSales)



299
300
301
# File 'lib/resas/api/client_ext/endpoints.rb', line 299

def fishery_sea_aquaculture_sales( params = {} )
  get( 'fishery/sea/aquacultureSales', params )
end

#fishery_sea_aquaculture_total_sales(params = {}) ⇒ Object

海面養殖販売金額(総額) (fishery/sea/aquacultureTotalSales)



289
290
291
# File 'lib/resas/api/client_ext/endpoints.rb', line 289

def fishery_sea_aquaculture_total_sales( params = {} )
  get( 'fishery/sea/aquacultureTotalSales', params )
end

#fishery_sea_management_unit_sales(params = {}) ⇒ Object

海面漁獲物等販売金額(経営体あたり) (fishery/sea/managementUnitSales)



269
270
271
# File 'lib/resas/api/client_ext/endpoints.rb', line 269

def fishery_sea_management_unit_sales( params = {} )
  get( 'fishery/sea/managementUnitSales', params )
end

#fishery_sea_sales(params = {}) ⇒ Object

海面漁獲物等販売金額帯別の経営体割合 (fishery/sea/sales)



274
275
276
# File 'lib/resas/api/client_ext/endpoints.rb', line 274

def fishery_sea_sales( params = {} )
  get( 'fishery/sea/sales', params )
end

#fishery_sea_ship_ratio(params = {}) ⇒ Object

海面漁獲物等出荷先別経営体数割合 (fishery/sea/shipRatio)



284
285
286
# File 'lib/resas/api/client_ext/endpoints.rb', line 284

def fishery_sea_ship_ratio( params = {} )
  get( 'fishery/sea/shipRatio', params )
end

#fishery_sea_ship_value(params = {}) ⇒ Object

海面漁獲物等出荷先別販売金額構成 (fishery/sea/shipValue)



279
280
281
# File 'lib/resas/api/client_ext/endpoints.rb', line 279

def fishery_sea_ship_value( params = {} )
  get( 'fishery/sea/shipValue', params )
end

#fishery_sea_staple(params = {}) ⇒ Object

主要海面漁業種類別延べ経営体数構成 (fishery/sea/staple)



259
260
261
# File 'lib/resas/api/client_ext/endpoints.rb', line 259

def fishery_sea_staple( params = {} )
  get( 'fishery/sea/staple', params )
end

#fishery_sea_total_sales(params = {}) ⇒ Object

海面漁獲物等販売金額(総額) (fishery/sea/totalSales)



264
265
266
# File 'lib/resas/api/client_ext/endpoints.rb', line 264

def fishery_sea_total_sales( params = {} )
  get( 'fishery/sea/totalSales', params )
end

#forestry_income_all_for_stacked(params = {}) ⇒ Object

主要林業部門別延べ経営体数構成 (forestry/income/allForStacked)



252
253
254
# File 'lib/resas/api/client_ext/endpoints.rb', line 252

def forestry_income_all_for_stacked( params = {} )
  get( 'forestry/income/allForStacked', params )
end

#forestry_income_all_portfolio(params = {}) ⇒ Object

主要林業部門別延べ経営体数 (forestry/income/allPortfolio)



247
248
249
# File 'lib/resas/api/client_ext/endpoints.rb', line 247

def forestry_income_all_portfolio( params = {} )
  get( 'forestry/income/allPortfolio', params )
end

#forestry_income_for_contract_revenue(params = {}) ⇒ Object

林作業請負収入(経営体あたり) (forestry/income/forContractRevenue)



232
233
234
# File 'lib/resas/api/client_ext/endpoints.rb', line 232

def forestry_income_for_contract_revenue( params = {} )
  get( 'forestry/income/forContractRevenue', params )
end

#forestry_income_for_contract_revenue_ratio(params = {}) ⇒ Object

林作業請負収入金額帯別の経営体割合 (forestry/income/forContractRevenueRatio)



242
243
244
# File 'lib/resas/api/client_ext/endpoints.rb', line 242

def forestry_income_for_contract_revenue_ratio( params = {} )
  get( 'forestry/income/forContractRevenueRatio', params )
end

#forestry_income_for_sales(params = {}) ⇒ Object

林産物販売金額(経営体あたり) (forestry/income/forSales)



227
228
229
# File 'lib/resas/api/client_ext/endpoints.rb', line 227

def forestry_income_for_sales( params = {} )
  get( 'forestry/income/forSales', params )
end

#forestry_income_for_sales_ratio(params = {}) ⇒ Object

林産物販売金額帯別の経営体割合 (forestry/income/forSalesRatio)



237
238
239
# File 'lib/resas/api/client_ext/endpoints.rb', line 237

def forestry_income_for_sales_ratio( params = {} )
  get( 'forestry/income/forSalesRatio', params )
end

#forestry_income_for_stacked(params = {}) ⇒ Object

林業総収入(総額) (forestry/income/forStacked)



222
223
224
# File 'lib/resas/api/client_ext/endpoints.rb', line 222

def forestry_income_for_stacked( params = {} )
  get( 'forestry/income/forStacked', params )
end

#industries_broad(params = {}) ⇒ Object

産業大分類 (industries/broad)



36
37
38
# File 'lib/resas/api/client_ext/endpoints.rb', line 36

def industries_broad( params = {} )
  get( 'industries/broad', params )
end

#industries_middle(params = {}) ⇒ Object

産業中分類 (industries/middle)



41
42
43
# File 'lib/resas/api/client_ext/endpoints.rb', line 41

def industries_middle( params = {} )
  get( 'industries/middle', params )
end

#industries_narrow(params = {}) ⇒ Object

産業小分類 (industries/narrow)



46
47
48
# File 'lib/resas/api/client_ext/endpoints.rb', line 46

def industries_narrow( params = {} )
  get( 'industries/narrow', params )
end

#industry_export_from_to(params = {}) ⇒ Object

国、税関別輸出入 (industry/export/fromTo)



128
129
130
# File 'lib/resas/api/client_ext/endpoints.rb', line 128

def industry_export_from_to( params = {} )
  get( 'industry/export/fromTo', params )
end

#industry_global_market_per_pref(params = {}) ⇒ Object

海外への企業進出動向向 (industry/globalmarket/perPref)



133
134
135
# File 'lib/resas/api/client_ext/endpoints.rb', line 133

def industry_global_market_per_pref( params = {} )
  get( 'industry/globalmarket/perPref', params )
end

#industry_patent_list(params = {}) ⇒ Object

特許一覧 (industry/patent/list)



123
124
125
# File 'lib/resas/api/client_ext/endpoints.rb', line 123

def industry_patent_list( params = {} )
  get( 'industry/patent/list', params )
end

#industry_power_for_area(params = {}) ⇒ Object

地域別特化係数 (industry/power/forArea)



143
144
145
# File 'lib/resas/api/client_ext/endpoints.rb', line 143

def industry_power_for_area( params = {} )
  get( 'industry/power/forArea', params )
end

#industry_power_for_industry(params = {}) ⇒ Object

産業別特化係数 (industry/power/forIndustry)



138
139
140
# File 'lib/resas/api/client_ext/endpoints.rb', line 138

def industry_power_for_industry( params = {} )
  get( 'industry/power/forIndustry', params )
end

#industry_power_for_manufacturer_establishments(params = {}) ⇒ Object

製造業事業所単位分析_継続・参入・退出事業所別の推移 (industry/power/forManufacturerEstablishments)



148
149
150
# File 'lib/resas/api/client_ext/endpoints.rb', line 148

def industry_power_for_manufacturer_establishments( params = {} )
  get( 'industry/power/forManufacturerEstablishments', params )
end

#jobs_broad(params = {}) ⇒ Object

職業大分類 (jobs/broad)



53
54
55
# File 'lib/resas/api/client_ext/endpoints.rb', line 53

def jobs_broad( params = {} )
  get( 'jobs/broad', params )
end

#jobs_middle(params = {}) ⇒ Object

職業中分類 (jobs/middle)



58
59
60
# File 'lib/resas/api/client_ext/endpoints.rb', line 58

def jobs_middle( params = {} )
  get( 'jobs/middle', params )
end

#municipality_company_per_year(params = {}) ⇒ Object

企業数 (municipality/company/perYear)



350
351
352
# File 'lib/resas/api/client_ext/endpoints.rb', line 350

def municipality_company_per_year( params = {} )
  get( 'municipality/company/perYear', params )
end

#municipality_employee_per_year(params = {}) ⇒ Object

従業者数(事業所単位) (municipality/employee/perYear)



380
381
382
# File 'lib/resas/api/client_ext/endpoints.rb', line 380

def municipality_employee_per_year( params = {} )
  get( 'municipality/employee/perYear', params )
end

#municipality_foundation_per_year(params = {}) ⇒ Object

創業比率 (municipality/foundation/perYear)



360
361
362
# File 'lib/resas/api/client_ext/endpoints.rb', line 360

def municipality_foundation_per_year( params = {} )
  get( 'municipality/foundation/perYear', params )
end

#municipality_job_per_year(params = {}) ⇒ Object

有効求人倍率 (municipality/job/perYear)



370
371
372
# File 'lib/resas/api/client_ext/endpoints.rb', line 370

def municipality_job_per_year( params = {} )
  get( 'municipality/job/perYear', params )
end

#municipality_labor_per_year(params = {}) ⇒ Object

労働生産性(企業単位) (municipality/labor/perYear)



390
391
392
# File 'lib/resas/api/client_ext/endpoints.rb', line 390

def municipality_labor_per_year( params = {} )
  get( 'municipality/labor/perYear', params )
end

#municipality_manufacture_per_year(params = {}) ⇒ Object

製造品出荷額 (municipality/manufacture/perYear)



375
376
377
# File 'lib/resas/api/client_ext/endpoints.rb', line 375

def municipality_manufacture_per_year( params = {} )
  get( 'municipality/manufacture/perYear', params )
end

#municipality_plant_per_year(params = {}) ⇒ Object

事業所数 (municipality/plant/perYear)



355
356
357
# File 'lib/resas/api/client_ext/endpoints.rb', line 355

def municipality_plant_per_year( params = {} )
  get( 'municipality/plant/perYear', params )
end

#municipality_sales_per_year(params = {}) ⇒ Object

年間商品販売額 (municipality/sales/perYear)



405
406
407
# File 'lib/resas/api/client_ext/endpoints.rb', line 405

def municipality_sales_per_year( params = {} )
  get( 'municipality/sales/perYear', params )
end

#municipality_surplus_per_year(params = {}) ⇒ Object

黒字赤字企業比率 (municipality/surplus/perYear)



395
396
397
# File 'lib/resas/api/client_ext/endpoints.rb', line 395

def municipality_surplus_per_year( params = {} )
  get( 'municipality/surplus/perYear', params )
end

#municipality_taxes_per_year(params = {}) ⇒ Object

一人当たり地方税 (municipality/taxes/perYear)



365
366
367
# File 'lib/resas/api/client_ext/endpoints.rb', line 365

def municipality_taxes_per_year( params = {} )
  get( 'municipality/taxes/perYear', params )
end

#municipality_value_per_year(params = {}) ⇒ Object

付加価値額(企業単位) (municipality/value/perYear)



385
386
387
# File 'lib/resas/api/client_ext/endpoints.rb', line 385

def municipality_value_per_year( params = {} )
  get( 'municipality/value/perYear', params )
end

#municipality_wages_per_year(params = {}) ⇒ Object

一人当たり賃金 (municipality/wages/perYear)



400
401
402
# File 'lib/resas/api/client_ext/endpoints.rb', line 400

def municipality_wages_per_year( params = {} )
  get( 'municipality/wages/perYear', params )
end

#old_cities(params = {}) ⇒ Object

旧市区町村一覧 (oldCities)



29
30
31
# File 'lib/resas/api/client_ext/endpoints.rb', line 29

def old_cities( params = {} )
  get( 'oldCities', params )
end

#patents_broad(params = {}) ⇒ Object

特許 技術分野 (patents/broad)



65
66
67
# File 'lib/resas/api/client_ext/endpoints.rb', line 65

def patents_broad( params = {} )
  get( 'patents/broad', params )
end

#patents_locations(params = {}) ⇒ Object

特許権者の所在地 (patents/locations)



75
76
77
# File 'lib/resas/api/client_ext/endpoints.rb', line 75

def patents_locations( params = {} )
  get( 'patents/locations', params )
end

#patents_middle(params = {}) ⇒ Object

特許 技術テーマ (patents/middle)



70
71
72
# File 'lib/resas/api/client_ext/endpoints.rb', line 70

def patents_middle( params = {} )
  get( 'patents/middle', params )
end

#population_composition_per_year(params = {}) ⇒ Object

人口構成 (population/composition/perYear)



323
324
325
# File 'lib/resas/api/client_ext/endpoints.rb', line 323

def population_composition_per_year( params = {} )
  get( 'population/composition/perYear', params )
end

#population_composition_pyramid(params = {}) ⇒ Object

人口ピラミッド (population/composition/pyramid)



328
329
330
# File 'lib/resas/api/client_ext/endpoints.rb', line 328

def population_composition_pyramid( params = {} )
  get( 'population/composition/pyramid', params )
end

#population_future_cities(params = {}) ⇒ Object

将来人口推計 (population/future/cities)



343
344
345
# File 'lib/resas/api/client_ext/endpoints.rb', line 343

def population_future_cities( params = {} )
  get( 'population/future/cities', params )
end

#population_nature(params = {}) ⇒ Object

人口の自然増減 (population/nature)



318
319
320
# File 'lib/resas/api/client_ext/endpoints.rb', line 318

def population_nature( params = {} )
  get( 'population/nature', params )
end

#population_sum_estimate(params = {}) ⇒ Object

出生数・死亡数/転入数・転出数 (population/sum/estimate)



338
339
340
# File 'lib/resas/api/client_ext/endpoints.rb', line 338

def population_sum_estimate( params = {} )
  get( 'population/sum/estimate', params )
end

#population_sum_per_year(params = {}) ⇒ Object

人口増減率 (population/sum/perYear)



333
334
335
# File 'lib/resas/api/client_ext/endpoints.rb', line 333

def population_sum_per_year( params = {} )
  get( 'population/sum/perYear', params )
end

#prefectures(params = {}) ⇒ Object

都道府県一覧 (prefectures)



19
20
21
# File 'lib/resas/api/client_ext/endpoints.rb', line 19

def prefectures( params = {} )
  get( 'prefectures', params )
end

#regions_agriculture_departments(params = {}) ⇒ Object

農業部門 (regions/agricultureDepartments)



116
117
118
# File 'lib/resas/api/client_ext/endpoints.rb', line 116

def regions_agriculture_departments( params = {} )
  get( 'regions/agricultureDepartments', params )
end

#regions_broad(params = {}) ⇒ Object

取引地域 (regions/broad)



82
83
84
# File 'lib/resas/api/client_ext/endpoints.rb', line 82

def regions_broad( params = {} )
  get( 'regions/broad', params )
end

#regions_middle(params = {}) ⇒ Object

取引国 (regions/middle)



87
88
89
# File 'lib/resas/api/client_ext/endpoints.rb', line 87

def regions_middle( params = {} )
  get( 'regions/middle', params )
end

#tourism_foreigners_for_from(params = {}) ⇒ Object

指定地域への国籍別訪問者数 (tourism/foreigners/forFrom)



306
307
308
# File 'lib/resas/api/client_ext/endpoints.rb', line 306

def tourism_foreigners_for_from( params = {} )
  get( 'tourism/foreigners/forFrom', params )
end

#tourism_foreigners_for_to(params = {}) ⇒ Object

指定国籍からの訪問者数 (tourism/foreigners/forTo)



311
312
313
# File 'lib/resas/api/client_ext/endpoints.rb', line 311

def tourism_foreigners_for_to( params = {} )
  get( 'tourism/foreigners/forTo', params )
end

#trade_info_item_types_broad(params = {}) ⇒ Object

品目 大分類 (tradeInfoItemTypes/broad)



94
95
96
# File 'lib/resas/api/client_ext/endpoints.rb', line 94

def trade_info_item_types_broad( params = {} )
  get( 'tradeInfoItemTypes/broad', params )
end

#trade_info_item_types_middle(params = {}) ⇒ Object

品目 中分類 (tradeInfoItemTypes/middle)



99
100
101
# File 'lib/resas/api/client_ext/endpoints.rb', line 99

def trade_info_item_types_middle( params = {} )
  get( 'tradeInfoItemTypes/middle', params )
end

#trade_info_item_types_narrow(params = {}) ⇒ Object

品目 小分類 (tradeInfoItemTypes/narrow)



104
105
106
# File 'lib/resas/api/client_ext/endpoints.rb', line 104

def trade_info_item_types_narrow( params = {} )
  get( 'tradeInfoItemTypes/narrow', params )
end