Running the following example (copied from #31) doesn't work.
library(gtfsrouter)
packageVersion("gtfsrouter")
#> [1] '0.0.4.140'
download.file("https://github.com/polettif/gtfs-test-feeds/raw/master/zip/routing.zip", "routing.zip")
gtfs = extract_gtfs("routing.zip")
#> ▶ Unzipping GTFS archive✓ Unzipped GTFS archive
#> ▶ Extracting GTFS feed✓ Extracted GTFS feed
#> ▶ Converting stop times to seconds✓ Converted stop times to seconds
#> ▶ Converting transfer times to seconds✓ Converted transfer times to seconds
timetbl <- gtfs_timetable(gtfs, date = 20181001)
#> Error in get(i): Objekt 'montag' nicht gefunden
I guess there's a problem with date/locale (or R version 4.0) somewhere while building the timetable from calendar_dates.txt because "montag" is used instead of "monday". We used a custom function for this case in tidytransit.
Running the following example (copied from #31) doesn't work.
I guess there's a problem with date/locale (or R version 4.0) somewhere while building the timetable from calendar_dates.txt because "montag" is used instead of "monday". We used a custom function for this case in tidytransit.
Created on 2020-12-10 by the reprex package (v0.3.0)