{"id":21324093,"url":"https://github.com/samuraikun/resas-graphql-server","last_synced_at":"2026-05-06T22:37:14.016Z","repository":{"id":40743782,"uuid":"160769341","full_name":"samuraikun/resas-graphql-server","owner":"samuraikun","description":"RESAS GraphQL API","archived":false,"fork":false,"pushed_at":"2023-01-05T16:38:30.000Z","size":2049,"stargazers_count":0,"open_issues_count":14,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-15T23:22:36.110Z","etag":null,"topics":["apollo","apollo-server","graphql","graphql-server","nodejs","resas","resas-api","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samuraikun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-07T04:08:58.000Z","updated_at":"2021-03-01T15:55:21.000Z","dependencies_parsed_at":"2023-02-04T07:31:47.310Z","dependency_job_id":null,"html_url":"https://github.com/samuraikun/resas-graphql-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samuraikun/resas-graphql-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuraikun%2Fresas-graphql-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuraikun%2Fresas-graphql-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuraikun%2Fresas-graphql-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuraikun%2Fresas-graphql-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samuraikun","download_url":"https://codeload.github.com/samuraikun/resas-graphql-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuraikun%2Fresas-graphql-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32715426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T19:35:05.142Z","status":"ssl_error","status_checked_at":"2026-05-06T19:35:03.996Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apollo","apollo-server","graphql","graphql-server","nodejs","resas","resas-api","typescript"],"created_at":"2024-11-21T20:28:39.308Z","updated_at":"2026-05-06T22:37:13.999Z","avatar_url":"https://github.com/samuraikun.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What's this repositry?\n- The repo is GraphQL Server of RESAS API.\n\n### RESAS API\n- Japanese regions local economy statistcal data API.\n- https://opendata.resas-portal.go.jp/\n\n# Motivation\nRESAS API is REST API. But, I wanna use elastically this API.\n\nSo, GraphQL is optimal solution!\n\n# Use\n- Node.js/TypeScript\n- GraphQL/Apollo Server\n\n# Setup\n\n### Set environment variable of api key\n\n```\nmv .env.sample .env\n```\n\n`.env`\n\n```\nRESAS_API_KEY=\"xxxxx\" // Your API KEY\n```\n\n### Run Server\n\n```\ndocker-compose build\ndocker-compose up\n```\n\nServer listen http://localhost:4000\n\n# Example\n\n## get broad industries\n\n```\nquery fetchIndustries {\n  industries(pageSize: 20) {\n    broadIndustries {\n      sicCode\n      sicName\n    }\n  }\n}\n```\n\n# Support API: Current Status\n\nDoc\n- https://opendata.resas-portal.go.jp/docs/api/v1/index.html\n\nLast Updated at:\n- 2020-06-06\n\n## 共通\n- [x] 都道府県一覧\n- [x] 市区町村一覧\n- [ ] 旧市区町村一覧\n- [x] 産業大分類\n- [x] 産業中分類\n- [x] 産業小分類\n- [x] 職業大分類\n- [x] 職業中分類\n- [x] 特許.技術分野\n- [x] 特許.技術テーマ\n- [x] 税関\n- [x] 輸出入.取引国_地域\n- [x] 輸出入.取引国_国\n- [x] 農業部門\n- [x] 特許権者の所在地\n- [x] 輸出入.品目_大分類\n- [x] 輸出入.品目_中分類\n- [x] 輸出入.品目_小分類\n\n## 人口マップ\n- [x] 人口構成\n- [x] 人口ピラミッド\n- [x] 人口増減率\n- [ ] 出生数・死亡数／転入数・転出数\n- [ ] 人口の自然増減\n- [ ] 地域ブロック別純移動数\n- [ ] 年齢階級別純移動数\n- [ ] 年齢階級別純移動数の時系列分析\n- [ ] 就職者数・進学者数の推移\n- [ ] 将来人口推計\n- [ ] 人口区分メッシュ度数分布図\n- [ ] 将来人口区分メッシュ度数分布図\n\n## 産業構造マップ\n\n### 全産業\n- [ ] 産業別特化係数\n- [ ] 地域別特化係数\n- [ ] 製造業事業所単位分析_継続・参入・退出事業所別の推移\n- [ ] 企業数\n- [ ] 事業所数\n- [ ] 従業者数（事業所単位）\n- [ ] 付加価値額（企業単位）\n- [ ] 労働生産性（企業単位）\n\n### 製造業\n- [ ] 産業構造推移\n- [ ] 製造業地域間比較\n- [ ] 製造品出荷額\n\n### 小売・卸売業（消費）\n- [ ] 年間商品販売額\n\n### 農業\n- [ ] 品目別農業産出額\n- [ ] 農業産出額\n- [ ] 農産物の出荷先別経営体数割合\n- [ ] 経営耕地面積\n- [ ] 経営耕地面積規模別の経営体割合\n- [ ] 農地流動化率\n- [ ] 耕作放棄地率\n- [ ] 年間延べ農作業日数\n- [ ] 農業経営者・農業就業人口の年齢構成\n- [ ] 農業経営者・農業就業人口の平均年齢\n- [ ] 農業生産関連事業の実施状況（経営体数）\n- [ ] 農業経営体の法人化率\n\n### 林業\n- [ ] 林業総収入（総額）\n- [ ] 林産物販売金額（経営体あたり）\n- [ ] 林作業請負収入（経営体あたり）\n- [ ] 林産物販売金額帯別の経営体割合\n- [ ] 林作業請負収入金額帯別の経営体割合\n- [ ] 主要林業部門別延べ経営体数\n- [ ] 主要林業部門別延べ経営体数構成\n- [ ] 林野面積（総面積）\n- [ ] 年間延べ林業作業日数\n\n### 水産業\n- [ ] 主要海面漁業種類別延べ経営体数構成\n- [ ] 海面漁獲物等販売金額（総額）\n- [ ] 海面漁獲物等販売金額（経営体あたり）\n- [ ] 海面漁獲物等販売金額帯別の経営体割合\n- [ ] 海面漁獲物等出荷先別販売金額構成\n- [ ] 海面漁獲物等出荷先別経営体数割合\n- [ ] 海面養殖販売金額（総額）\n- [ ] 海面養殖販売金額（経営体あたり）\n- [ ] 海面養殖販売金額帯別の経営体割合\n- [ ] 海面漁船隻数（漁船種類別）\n- [ ] 海面漁業の就業者数\n- [ ] 内水面漁業種類・養殖種類別延べ経営体数の構成\n- [ ] 内水面漁船隻数（漁船種類別）\n- [ ] 内水面漁業の従事者数\n\n## 企業活動マップ\n\n### 企業情報\n- [ ] 創業比率\n- [ ] 黒字赤字企業比率\n\n### 海外取引\n- [ ] 海外への企業進出動向\n- [ ] 国、税関別輸出入\n- [ ] 企業の海外取引額分析\n\n### 研究開発\n- [ ] 研究開発費地域間比較\n- [ ] 特許一覧\n\n### 法人インフォメーション\n- 別APIで公開\n  - https://info.gbiz.go.jp/\n\n### 観光マップ\n\n#### 国内\n- [ ] 居住都道府県別の延べ宿泊者数（日本人）の推移\n- [ ] 宿泊施設数の推移\n- [ ] 延べ宿泊者数の推移\n- [ ] 延べ宿泊数前年比の推移\n- [ ] 定員稼働率の推移\n- [ ] 客室稼働率の推移\n\n#### 外国人\n- [ ] 指定地域への国籍別訪問者数\n- [ ] 指定国籍からの訪問者数\n- [ ] 入出国空港間で訪問した地域の訪問者数\n- [ ] 入国空港・出国空港内訳\n- [ ] 滞在地域内訳\n\n### まちづくりマップ\n\n#### From-to分析（滞在人口）\n- [ ] 滞在先の居住地別人数\n- [ ] 居住地の滞在先別人数\n\n#### 通勤通学人口\n- [ ] 昼間人口・夜間人口の地域別構成割合\n\n#### 不動産取引\n- [ ] 不動産取引価格\n\n### 雇用／医療・福祉マップ\n- [x] 一人当たり賃金\n- [ ] 有効求人倍率\n- [ ] 求人・求職者\n\n#### 医療需給\n- [ ] 二次医療圏一覧\n- [ ] 医療需給_構成割合\n- [ ] 医療需給_地域間比較\n- [ ] 医療需給_推移\n- [ ] 流入患者数・流出患者数\n\n### 介護需給\n- [ ] 介護需給地域別比較\n\n### 地方財政マップ\n\n#### 自治体財政状況の比較\n- [ ] 目的別歳出決算額構成割合\n- [ ] 一人当たり地方税\n- [ ] 一人当たり市町村民税法人分\n- [ ] 一人当たり固定資産税\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuraikun%2Fresas-graphql-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuraikun%2Fresas-graphql-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuraikun%2Fresas-graphql-server/lists"}