Learn R Programming

gtfsrouter (version 0.1.4)

berlin_gtfs_to_zip: 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()

Arguments

Value

Path to newly created zip file

See Also

Other extract: extract_gtfs(), gtfs_timetable()

Examples

Run this code
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)

Run the code above in your browser using DataLab