filter_feed_by_trips: Filter a gtfs feed so that it only contains a given set of...

View source: R/filters.R

filter_feed_by_tripsR Documentation

Filter a gtfs feed so that it only contains a given set of trips

Description

Only stop_times, stops, routes, services (in calendar and calendar_dates), shapes, frequencies and transfers belonging to one of those trips are kept.

Usage

filter_feed_by_trips(gtfs_obj, trip_ids)

Arguments

gtfs_obj

gtfs feed (tidygtfs object)

trip_ids

vector with trip_ids

Value

tidygtfs object with filtered tables

See Also

filter_feed_by_stops, filter_feed_by_area, filter_feed_by_date


r-transit/tidytransit documentation built on Oct. 19, 2024, 3:17 a.m.