Closed polettif closed 5 years ago
I think this should now be resolved - I wasn't forcing data.table::fread
NOT to auto-convert a lot of things to integer64
. That's now been fixed, and appears to have resolved a lot of problems. But if your problem persists, please paste a reprex here.
I installed the newest version and I still get the same error. I can't use dput for the extracted feed (data.table uses internal pointers) so I uploaded a valid test feed.
testfeed <- gtfsrouter::extract_gtfs("routing.zip")
gtfsrouter::gtfs_route(testfeed, "One", "Eight")
#> Error in rcpp_make_timetable(gtfs_cp$stop_times): Not compatible with requested type: [type=character; target=integer].
Thanks - I'll fix the code asap
I tried to run the router on the Swiss GTFS feed and received the following error:
I guess there's a problem is with the ids (stops or trips) using characters. For example, a typical trip id is
63.TA.18-26-j19-1.25.R
. AFAIK the gtfs spec doesn't state that ids have to be numeric?