Awesome Open Source
Awesome Open Source

CRAN status Project Status: Active R build status codecov


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:


This package requires a working installation of sf.

Install tidytransit from CRAN:


For the development version from Github:

# install.packages("devtools")

For some users, sf is impractical to install due to system level dependencies. For these users, trread may work better. It has more limited functionality, but it can read GTFS tables into R.


tidytransit is a fork of gtfsr.


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

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
r (2,367
cran (98
transport (39
tidyverse (36
transit (32
gtfs (21
transportation (21