Skip to content

transport

  • Legs, dwell, cut-offs and punctuality, shared by road, rail, sea and air.

The Transport industry’s own namespace. What it solves, and the guides and tools that show it, are on Transport.

  • bestAvailable: Pick the best available timestamp for an event from its planned, estimated, requested and actual records, and say which class it is.
  • crossingTime: Measure a crossing — a canal transit, a strait passage, a border queue — and render both ends in the zone the crossing is administered in.
  • cutoffAt: Find a deadline stated as an offset before an anchor event, in the local time of the place that enforces it.
  • cutoffSchedule: Compute a whole stack of cut-offs against one anchor event, earliest first.
  • dwellTime: Measure how long something sat somewhere, and how many local calendar days it sat there.
  • estimateDrift: Measure how far an estimate moved between its first and last revision.
  • nextDeparture: Find the next departure a connection can make: the first scheduled departure at or after after plus the minimum connection time.
  • punctualityRate: The share of planned/actual pairs that were on time under one tolerance.
  • scheduleDelivery: Chain the legs of a multi-modal move into an end-to-end ETA with zone-local times at every handoff.
  • transitTime: Add a transit duration to a departure and return the arrival, in the departure’s own zone.
  • 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.
  • etaAtZone: Render an arrival instant as local time in the zone where it will be read.
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.