Learn R Programming

tidytransit (version 0.5.1)

most_frequent_service: Get the most frequent service for a set of trips.

Description

Get the most frequent service for a set of trips.

Usage

most_frequent_service(trips)

Arguments

trips

gtfs dataframe with a service_trips count column grouped by the service_id, route, etc of interest

Value

trips gtfs data frame within groups that are in the most frequent service window