if (FALSE) {
# tibble of all routes
routes()
# Search for routes by name (case insensitive, partial matching supported)
routes(route_name = "Frankston")
# All current disruptions
disruptions(disruption_status = "current")
# Train stops near Flinders Street Station
stops_nearby(
latitude = -37.8183,
longitude = 144.9671,
route_types = "Train"
)
# Upcoming train departures from Flinders Street Station
departures(stop_id = 1071, route_type = "Train")
}
Run the code above in your browser using DataLab