Skip to content

mbta/prediction_analyzer

Repository files navigation

PredictionAnalyzer

An app for aggregating and analyzing the accuracy of GTFS predictions using TripUpdates and VehiclePositions over time.

Prerequisites

PostgreSQL and Direnv are available on macOS Homebrew.

Setup

  1. asdf install
  2. cp .envrc.template .envrc
    • You may have to adjust DATABASE_ROOT_URL in this file to reflect your Postgres install, e.g. changing postgres@ to your_username@
  3. direnv allow
  4. mix deps.get
  5. mix ecto.setup
  6. npm install --prefix assets

If you have previously set up the DB and run into issues, you may have to drop the DB and run mix ecto.setup to recreate it.

Common Tasks

About

A tool to download and analyze our predictions and the actual vehicle arrival times we receive.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors