Skip to contents

Sets the maximum number of rides a trip can use in R5.

Usage

set_max_rides(r5r_core, max_rides)

Arguments

r5r_core

An object to connect with the R5 routing engine, created with setup_r5().

max_rides

A number. The max number of public transport rides allowed in the same trip. Passed from routing function.

Value

No return value, called for side effects.