
地域分析のためのRコード:公的オープンデータを用いたLeafletと地理院衛星画像による鳥取市の尾崎放哉句碑の可視化 本リポジトリは、鳥取県が公開する「尾崎放哉句碑の建立場所」オープンデータを活用し、R言語(leafletおよびdplyr)を用いて空間的な可視化を行う地域分析用のプロトタイプスクリプトである。散在しがちな地域の文化資源をデジタル・ヒューマニティーズの観点から統合・可視化するオープンサイエンスの実践例であり、将来的には地域の生活者の愛着や感想といった主観的ナラティブ(語り)を地理空間情報へ重ね合わせる、参加型GIS(PPGIS)やエモーショナル・マッピングの発展に向けた基盤的テンプレートとなることを目指している。本プログラムの作成にあたってはGoogle Geminiのコード支援を利用した。 Web上でのShinyアプリの公開(試用版) ブラウザ上で動作するインタラクティブなデモ版を公開している。 https://moteki.shinyapps.io/tottori-hosai-monuments/ GPS対応版デモ https://moteki.shinyapps.io/tottori_hosai_gps/ サーバーの利用状況などで、稼働が停止することもある。その場合は、翌月の制限リセットまでお待ちいただくか、本リポジトリからデータおよびコードをローカル環境にダウンロードして実行してください。 国土地理院の標準地図と高解像度な衛星画像(写真)の切り替え機能を実装し、各句碑の位置に詠まれた放哉の自由律俳句や建立場所、住所、資料の参照頁(放哉百選)を美しく構造化したポップアップで表示するインタラクティブなWeb地図を生成する。なお、近年ではCIDOC CRMやLOD、LLM/MCPサーバーを用いた全国規模の句碑データ利活用基盤の研究(例:CiNii CRID 1050587970429961728)などのシステム開発アプローチが見られるが、本リポジトリは公的オープンデータを直接活用し、Rコードによる実用的かつ再現可能な「地域分析」のオープンな実装例を提供する点に固有の特徴と独自性を持つ。オープンデータ内の「放哉百選(頁)」は、民間団体「放哉蔵活用懇話会(柴山抱海代表)」が主体となり、2015年の尾崎放哉生誕130年を記念して句碑を建立した際の記念誌『放哉:佐高信が選ぶ尾崎放哉名句百選』(2015年刊 https://ndlsearch.ndl.go.jp/books/R100000002-I026291910 )の頁数を指す。社会福祉法人鳥取県社会福祉協議会の活動記録( https://tottori-ikiiki.jp/activity/94/ )によれば、この地域ムーブメントを通じて市内36カ所に119基の句碑が設けられたとされるが、行政(鳥取市)がオープンデータ化した本データセットには115レコードが収録されており、両者の間には4基の不一致(データの不均質性)が存在する。オープンデータを見る限り、句碑の設置場所は放哉にゆかりのある地が選ばれている。上述の句碑建設の運動は、その後基礎自治体(鳥取市)によってデータ化され、広域自治体(鳥取県)のオープンデータサイトで公開されるほど地域に認知されるに至った。これらの碑の位置情報を空間的に把握することは、地方社会における文化資源の制度化や文化政策のプロセスを検証する上でも大きな意味を持つと思われる。(筆者は現在、当該書籍を入手し、データとの詳細な突合・検証を進めている。2026年5月22日追記。以下の段落でその後明らかになった点を記す。) 追記(2026年5月19日現在)として、柴山氏による当該書籍の前書き(p. 7)によれば、当初の計画では名句100句に選外の19句を番外として加え、合計119基の句碑を建設する予定のもと、建立に先駆けて揮毫(きごう)を収録したとされる。この歴史的背景を踏まえると、上述の社協の記事の「119基」という数字と、行政がオープンデータ化した「115レコード」との間に生じている4基の不一致(データの不均質性)は、単なる行政上のオープンデータへの登録漏れや記述エラーではない可能性がある。すなわち、計画段階から実際の物理的な建立へと移行するプロセスにおいて、一部の句碑が「未建設」のまま留まったという歴史的ギャップ(計画と実態の乖離)を示唆している。このオープンデータの背景事情・経緯については、機会があれば調査したい。 追記と謝辞(2026年5月22日)その後、鳥取市文化交流課へのウェブフォームからの問合に返信があり、これら4基の不一致の具体的な経緯が明らかとなった。それによると、平成26年の生誕130周年記念事業の際、鳥取市役所の移転整備計画が重なったため、旧庁舎敷地に予定されていた2基(No.66, 118)と新庁舎敷地に予定されていた2基(No.110, 119)が一時的に未設置のまま留まることとなった。新庁舎側でのスペース確保の見送りを経て、令和8年3月に竣工した旧庁舎跡地の「まちなか交流広場」が新たな一括受け入れ候補地として浮上しており、現在まさに設置に向けた協議が再開される段階にある。このことから、行政のオープンデータ(115レコード)は記述エラーではなく、「実際の物理的な建立実態」をリアルタイムかつ正確に反映した動的な記録であったことが明らかになった。行政オープンデータのRコードへの実装がきっかけで、行政、市民、民間が一体となって取り組んだ句碑建設と、その後のオープンデータ整備、公開の詳細の一端を垣間見られた。今後機会があれば、現地を訪れ、実際の碑を確認したり、現在未設置の句碑の進展状況について調査したい。鳥取市の担当課には記して感謝申し上げたい。 【未設置の句碑と当初の予定地】 66. 口あけぬ蜆(しじみ)死んでゐる (旧市役所庁舎敷地) 110. 障子あけて置く海も暮れ切る (新市役所庁舎敷地) 118. 月夜の葦が折れとる (旧市役所庁舎敷地) 119. 雨の中泥手を洗ふ (新市役所庁舎敷地) 【データ出典 / Data Source】 鳥取県オープンデータポータルサイト「尾崎放哉句碑の建立場所」 URL: https://odp-pref-tottori.tori-info.co.jp/dataset/1641.html [English] R Code for Regional Analysis: Interactive Mapping of Ozaki Hosai Haiku Monuments in Tottori City Using Public Open Data with GSI Satellite Imagery This repository features a prototype regional analysis script that utilizes open data on the "Erection Sites of Ozaki Hosai Haiku Monuments" published by Tottori Prefecture, conducting geospatial visualization via the R language (specifically leveraging leaflet and dplyr). It serves as a practical example of open science that integrates and visualizes scattered regional cultural resources from the perspective of Digital Humanities. Looking ahead, it aims to function as a foundational template for the development of Participatory GIS (PPGIS) and emotional mapping, overlaying subjective narratives—such as the attachments and reflections of local residents—onto geospatial information. The author acknowledges the coding assistance provided by Google Gemini in developing this program. Public Deployment of the Interactive Shiny Application (Trial Version) An interactive web-based demo version is publicly accessible via web browsers at https://moteki.shinyapps.io/tottori-hosai-monuments/. Please note that due to server traffic and hosting resource constraints, the live applications may temporarily experience downtime. In such events, please wait until the monthly usage limit resets, or alternatively, download the datasets and source code from this repository to run the application natively on your local machine. It implements a layer-switching function between the Geospatial Information Authority of Japan (GSI) standard maps and high-resolution satellite imagery, generating an interactive web map that displays Hosai's free-verse haiku poems, monument locations, addresses, and reference pages from the literature (Hosai Hyakusen) in beautifully structured pop-ups at each monument's coordinates. While recent years have seen system-development approaches, such as research on nationwide platforms for utilizing haiku monument data using CIDOC CRM, LOD, and LLM/MCP servers (e.g., CiNii CRID 1050587970429961728), this repository possesses distinctive features and originality by directly leveraging public open data to provide a practical, reproducible, and open implementation example of "regional analysis" via R code. The variable "放哉百選(頁)" (Hosai 100 Selection [Page]) in the open data refers to the page numbers in the commemorative book Hosai: Makoto Sataka's Selection of One Hundred Masterpiece Haiku by Ozaki Hosai (published in 2015, https://ndlsearch.ndl.go.jp/books/R100000002-I026291910 ). This volume was published when a private organization, the "Hosai-gura Utilization Committee" (represented by Hokai Shibayama), spearheaded the erection of haiku monuments to commemorate the 130th anniversary of Ozaki Hosai's birth in 2015. According to the activity records of the Tottori Prefectural Council of Social Welfare (https://tottori-ikiiki.jp/activity/94/ ), 119 haiku monuments were erected across 36 locations within the city through this regional movement. However, the official dataset digitized by the local municipality (Tottori City) contains 115 records, revealing a discrepancy of four monuments (heterogeneity of data). Based on the available open data, the sites selected for erecting these haiku monuments appear to be chosen from locations deeply intertwined with Hosai’s biographical and literary legacy. The aforementioned movement dedicated to the construction of these monuments eventually gained such profound recognition within the community that the data was systematically digitized by the local municipality (Tottori City) and officially published on the open data portal managed by the prefectural government (Tottori Prefecture). Spatially analyzing the geographic coordinates of these monuments holds significant academic value, offering crucial insights for verifying the institutionalization of cultural resources and the underlying operational processes of local cultural policies within regional society. (The author has acquired the primary literature and is currently conducting a rigorous cross-reference and verification process against the dataset. Postscript on May 22, 2026: The subsequent findings that came to light are described in the following paragraphs.) As a supplementary note (as of May 19, 2026), the primary literature's foreword by Mr. Shibayama (p. 7) reveals that the initial plan intended to erect a total of 119 monuments—comprising 100 celebrated haiku and 19 additional selections as supplements—and compiled the calligraphy prior to actual physical construction. Given this historical backdrop, the discrepancy of four monuments between the figure of "119 monuments" mentioned in the aforementioned Social Welfare Council's article and the official open dataset containing "115 records" may transcend mere administrative omission or descriptive error in the open data. Rather, it suggests a historical gap between planning and implementation, raising the distinct possibility that certain planned monuments remained "unbuilt" during the transition from the planning phase to actual physical reality. The author intends to investigate the background circumstances and the historical trajectory of this open dataset if the opportunity arises. Postscript and Acknowledgments (as of May 22, 2026): Subsequent reply from the Tottori City Cultural Exchange Division via their web inquiry form explicitly clarified the historical trajectory behind this four-monument discrepancy. Due to the relocation and redevelopment of the Tottori City Hall overlapping with the 130th anniversary project in 2014, two monuments planned for the old city hall site (Nos. 66, 118) and two for the new city hall site (Nos. 110, 119) were temporarily left unbuilt. Following spatial constraints at the new city hall, the "Machinaka Koryu Hiroba" (Downtown Community Square), completed on the former city hall lot in March 2026, has emerged as the candidate site to host all four pending monuments, with concrete administrative discussions poised to resume. This institutional evidence demonstrates that the official open dataset (115 records) is not a product of descriptive error, but an exceptionally accurate, dynamic ledger reflecting physical construction realities in real time. Triggered by the implementation of this open data into the R code, the author was able to catch a profound glimpse into the detailed collaborative process of monument construction driven jointly by the administration, citizens, and the private sector, as well as the subsequent data compilation and public release. If the opportunity arises, the author intends to visit the site to inspect the physical monuments and further investigate the progress of the currently unbuilt monuments. The author would like to express his deepest and most sincere gratitude to the department in charge at Tottori City. 66. 口あけぬ蜆(しじみ)死んでゐる / Kuchi akenu shijimi shinde iru (Former City Hall Site) 110. 障子あけて置く海も暮れ切る / Shōji akete oku umi mo kurekiru (New City Hall Site) 118. 月夜の葦が折れとる / Tsukiyo no ashi ga oretoru (Former City Hall Site) 119. 雨の中泥手を洗ふ / Ame no naka dorote o arau (New City Hall Site) [Data Source] Tottori Prefecture Open Data Portal, "Locations of Hosai Ozaki Haiku Monuments" (尾崎放哉句碑の建立場所) URL: https://odp-pref-tottori.tori-info.co.jp/dataset/1641.html
