/prediction_analyzer

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

Primary LanguageElixirMIT LicenseMIT

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

Common Tasks