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:
This package requires a working installation of sf.
Install tidytransit from CRAN:
For the development version from Github:
# install.packages("devtools") devtools::install_github("r-transit/tidytransit")
gtfsioR package to read and write gtfs feeds, tidytransit builds on gtfsio
gtfstoolsTools for editing and analysing transit feeds
gtfsrouterPackage for public transport routing
gtfs2gpsConverting public transport data from GTFS format to GPS-like records
Please feel free to issue a pull request or open an issue.