Skip to content

R package for working with the General Transit Feed Specification (GTFS)

Notifications You must be signed in to change notification settings

hansmib/tidytransit

 
 

Repository files navigation

Travis-CI Build Status CRAN status Project Status: Active

tidytransit

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. Tidytransit can be used to:

  • read GTFS feeds into R
  • automatically cast the spatial and temporal data in the feeds into more usable R data types
  • create graphics about transit service
  • map existing stops and routes
  • estimate transit frequencies
  • validate transit feeds
  • estimate travel times between transit stops

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.

Usage

Please see:

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.

About

R package for working with the General Transit Feed Specification (GTFS)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • R 100.0%