berlin_gtfs_to_zip: berlin_gtfs_to_zip

berlin_gtfs_to_zipR Documentation

berlin_gtfs_to_zip

Description

Write a zip archive of the internal package data, berlin_gtfs to a file named "vbb.zip" to tempdir().

Usage

berlin_gtfs_to_zip()

Value

Path to newly created zip file

See Also

Other extract: extract_gtfs(), gtfs_timetable()

Examples

path <- berlin_gtfs_to_zip ()
gtfs <- extract_gtfs (path)
gtfs <- gtfs_timetable (gtfs, day = "Wed") # A pre-processing step to speed up queries
gtfs_route (gtfs, from = "Tegel", to = "Berlin Hauptbahnhof", start_time = 12 * 3600)

ATFutures/gtfs-router documentation built on Feb. 20, 2025, 4:11 a.m.