Awesome
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("devtools")
devtools::install_github("r-transit/tidytransit")
GTFS-related packages
gtfsio
R package to read and write gtfs feeds, tidytransit builds on gtfsiogtfstools
Tools for editing and analysing transit feedsgtfsrouter
Package for public transport routinggtfs2gps
Converting public transport data from GTFS format to GPS-like records
Contributing
Please feel free to issue a pull request or open an issue.