A postgres based analysis of transit service from a GTFS feed using TCQSM based methodologies and batch analysis tools.
R Shell Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R scripts
batchtool
.DS_Store Update most of the R scripts and add SEPTA specific queries Jul 20, 2012
.gitmodules
Additional Queries (unused).sql Refinements to queries and update output views Jul 16, 2012
GTFS Explore.sql
README.md
SEPTA-customrouteleveltable.sql
feedstats.sql
gtfs visualization code.R
route_stops_length.sql Minor directory changes, new R and sql functions Aug 1, 2012

README.md

GTFS_Explore_Tool

A postgres based analysis of transit service from a GTFS feed using TCQSM based methodologies and batch analysis tools.

This is a series of .sql scripts and R code designed to provide the user with information about the transit service described in a GTFS feed using methodologies from the Transit Capacity and Quality of Service Manual 2nd Ed (The project visiting the third editions is at http://tcqsm.org).

There is also a batch analysis element which will loop through the analysis of many agencies and return aggregate results which can be analyzed by the R code.

The postgres scripts rely on:

The batch importer also uses the excellent OneBusAway GTFS Transformer tool, which is licensed under the Apache 2 license and is checked in in the lib/ directory.

Limitations of the scripts:

  • Works when stops are coded individually, not with time-point only feeds
  • Requires use of shapes.txt file for any distance related functions
  • Does not currently work on files using frequency-based schedules.