get_1stdeparture: Get the First Departure of Each Trip

View source: R/get_1stdeparture.R

get_1stdepartureR Documentation

Get the First Departure of Each Trip

Description

Returns the departure at the lowest 'stop_sequence' for every trip.

Usage

get_1stdeparture(gtfs)

Arguments

gtfs

A GTFS object.

Value

A tibble with 'route_id', 'trip_id', 'departure_time', and 'stop_id'.

References

[GTFS Schedule Reference](https://gtfs.org/documentation/schedule/reference/#stop_timestxt)

Examples

head(get_1stdeparture(for_rail_gtfs))


GTFSwizard documentation built on Aug. 21, 2026, 5:16 p.m.