Tidytransit
R package for working with GTFS data
Install / Use
/learn @r-transit/TidytransitREADME
tidytransit
Use tidytransit to map transit stops and routes, calculate travel times and transit frequencies, and validate transit feeds. Tidytransit reads the General Transit Feed Specification into tidyverse and simple features data frames. Tidytransit can be used to:
- read GTFS feeds into R
- calculate travel times between transit stops
- convert stops and routes to sf data frames
- validate transit feeds and more
Have a look at the following vignettes to see how tidytransit can be used to analyse a feed:
- introduction
- calendar and service patterns
- create time tables for stops
- frequency and headway calculations
Installation
This package requires a working installation of sf.
Install tidytransit from CRAN:
install.packages('tidytransit')
For the development version from Github:
# install.packages("remotes")
remotes::install_github("r-transit/tidytransit")
GTFS-related packages
gtfsioR package to read and write gtfs feeds, tidytransit uses gtfsio for reading/writing feedsgtfstoolsTools for editing and analysing transit feedsgtfsrouterPackage for public transport routinggtfs2gpsConverting public transport data from GTFS format to GPS-like recordsGTFSwizardSet of tools for exploring and manipulating, builds on tidytransit
Contributing
Please feel free to issue a pull request or open an issue.
Related Skills
node-connect
351.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
