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)

gtfsrouter documentation built on Oct. 29, 2024, 9:06 a.m.