Use tidytransit to map transit stops and routes, calculate transit frequencies, and validate transit feeds. tidytransit reads the General Transit Feed Specification into tidyverse and simple features dataframes.

Installation

This package requires a working installation of sf.

A CRAN version is available:

install.packages('tidytransit')

For the development version from Github:

# install.packages("devtools")
devtools::install_github("r-transit/tidytransit")

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.

Background

tidytransit is a fork of gtfsr, published to CRAN, with frequency/headway calculation functions.

Contributing

If you would like to contribute please feel free to issue a pull request or open an issue.

Contributors

Among the many contributors, Danton Noriega wrote much of this package.