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:

Have a look at the following vignettes to see how tidytransit can be used to analyse a feed:

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")
  • gtfsio R package to read and write gtfs feeds, tidytransit builds on gtfsio
  • gtfstools Tools for editing and analysing transit feeds
  • gtfsrouter Package for public transport routing
  • gtfs2gps Converting public transport data from GTFS format to GPS-like records

Contributing

Please feel free to issue a pull request or open an issue.