Skip to content

transport/compare

  • Legs, dwell, cut-offs and punctuality, shared by road, rail, sea and air.
  • classifyPunctuality: Classify an arrival as early, on time or late against the caller’s tolerance.
  • isPastCutoff: Report whether a cut-off has passed.
  • scheduleDeviation: Measure how far an actual time is from its plan: positive when late, negative when early.
  • timeToCutoff: Measure the time left until a cut-off, negative once it has passed.
  • Punctuality: An arrival’s punctuality against a PunctualityTolerance.

Last updated:

Accessibility
© 2026 NorthGuild · Licences

Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.