calculateMedianTravelTime: Calculate travel time median between two stop_ids on a given...

Description Usage Arguments Value

View source: R/travelTimes.R

Description

Calculate travel time median between two stop_ids on a given route for a time range (default is 5AM-11:30PM)

Usage

1
2
3
4
5
6
7
8
calculateMedianTravelTime(
  gtfs,
  beginStopID,
  endStopID,
  routeID,
  startHHMMSSRange = "00:05:00",
  endHHMMSSRange = "23:30:00"
)

Arguments

gtfs

object from gtfsFunctions::formatGTFSObject()

beginStopID

stop_id string to begin travel time calculations from

endStopID

stop_id string to end travel time calculations at

routeID

route_id string to calculate travel times for between stop_ids

startHHMMSSRange

beginning HHMMSS string of timeframe to get travel times in (i.e. "15:30:00")

endHHMMSSRange

end HHMMSS string of timeframe to get travel times in (i.e. "18:30:00")

Value

summary of travel times in specified time range


b-tomhave/gtfsFunctions documentation built on Dec. 19, 2021, 6:37 a.m.