Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
gtfsr package @ fukuoka.R #11
Search
nonki1974
September 15, 2018
Technology
0
340
gtfsr package @ fukuoka.R #11
fukuoka.R #11のLTでgtfsr packageを紹介しました。
nonki1974
September 15, 2018
Tweet
Share
More Decks by nonki1974
See All by nonki1974
GTFS with Tidytransit package
nonki1974
0
320
TokyoR#84_Rexams
nonki1974
0
210
都道府県別焼き鳥屋ランキングの作成
nonki1974
1
900
Introduction to R
nonki1974
0
350
Introduction to dplyr
nonki1974
0
520
Introduction to ggplot2
nonki1974
1
520
Analyzing PSB tracks with R
nonki1974
0
590
introduction to fukuoka.R @ Fukuoka.LT
nonki1974
0
68
所要時間のヒートマップを作成する
nonki1974
0
560
Other Decks in Technology
See All in Technology
意外と知らない状態遷移テストの世界
nihonbuson
PRO
1
310
ハッカソンから社内プロダクトへ AIエージェント「ko☆shi」開発で学んだ4つの重要要素
sonoda_mj
6
1.8k
"人"が頑張るAI駆動開発
yokomachi
1
650
Strands AgentsとNova 2 SonicでS2Sを実践してみた
yama3133
1
2.1k
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
9.9k
AWSに革命を起こすかもしれない新サービス・アップデートについてのお話
yama3133
0
520
20251203_AIxIoTビジネス共創ラボ_第4回勉強会_BP山崎.pdf
iotcomjpadmin
0
150
業務の煩悩を祓うAI活用術108選 / AI 108 Usages
smartbank
9
16k
Authlete で実装する MCP OAuth 認可サーバー #CIMD の実装を添えて
watahani
0
240
さくらのクラウド開発ふりかえり2025
kazeburo
2
1.2k
[Data & AI Summit '25 Fall] AIでデータ活用を進化させる!Google Cloudで作るデータ活用の未来
kirimaru
0
4.1k
Agentic AIが変革するAWSの開発・運用・セキュリティ ~Frontier Agentsを試してみた~ / Agentic AI transforms AWS development, operations, and security I tried Frontier Agents
yuj1osm
0
110
Featured
See All Featured
Paper Plane (Part 1)
katiecoart
PRO
0
2.3k
Ethics towards AI in product and experience design
skipperchong
1
140
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
1
880
A Soul's Torment
seathinner
1
2k
30 Presentation Tips
portentint
PRO
1
180
AI Search: Where Are We & What Can We Do About It?
aleyda
0
6.8k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
260
Writing Fast Ruby
sferik
630
62k
Documentation Writing (for coders)
carmenintech
77
5.2k
The browser strikes back
jonoalderson
0
240
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5k
Transcript
gtfsr package ͬͯΈͨ @nonki1974 fukuoka.R #11 2018/09/15
GTFS General Transit Feed Specification
平たくいうと 公共交通に関する情報 を記述するための(標準?)規格 路線 駅・停留所 時刻表 運賃表 運⾏会社
ファイル構成 ※以下のファイル群が圧縮されたzipファイル ϑΝΠϧ໊ ༰ agency.txt 運⾏会社等の情報 stops.txt 駅やバス停の情報 routes.txt 路線情報
trips.txt 運⾏情報 stop_times.txt 停⾞時刻 calendar.txt 運⾏⽇の曜⽇による定義 calendar_dates.txt 運航⽇の⽇付による定義 fare_attributes.txt 料⾦クラス定義 fare_rules.txt 料⾦適⽤ルール shapes.txt 経路のシェープ情報 frequencies.txt 運⾏間隔情報 transferes.txt 乗り換え情報 feed_info.txt フィードの情報
クラス図
route.txt の例
stop_times.txt の例
gtfsr package 1 検索 2 インポート 3 gtfsオブジェクトへの変換 4 検証
5 可視化 【参考】https://techlog.transloc.com/the-gtfsr-package-58fedd2bf8c8
インストール&パッケージのロード
フィードの検索 あらかじめ transitfeeds.com でAPIキーを取得しておく
GTFSフィードのインポート
注 gtfs_obj はGTFSの各テキストファイルを データテーブルにしたものを要素に持つリスト
ルートの抽出
ルートの可視化! leafletで出⼒される
結果
Enjoy!