I have downloaded the WM.ZIP file from the Traveline ftp site.
When calling transxchange2gtfs for the WM.zip file, I get the error:
All files converted
Error in gtfs_merge(gtfs_all, force = force_merge) :
Duplicated Agency IDs AMN
Merging failed, returing unmerged GFTS object for analysis
If I then run gtfs_merge, I get:
Warning: Duplicated Agency IDs AMN will be mergedDe-duplicating route_id
De-duplicating service_id
De-duplicating trip_id
Condensing duplicated service patterns
If I then run
gtfs_write(gtfs,
folder = "xxxxx",
name = "gtfs_WM")
I get:
Error in data.table::fwrite(gtfs$calendar, paste0(tempdir(), "/gtfs_temp/calendar.txt"), :
is.list(x) is not TRUE
Am I missing a step? I've been able to run the transxchange2gtfs process with another file from Traveline, so there is an issue with the WM file, but it would appear that the merge process does 'fix' it and then fails on the write?
I have downloaded the WM.ZIP file from the Traveline ftp site. When calling transxchange2gtfs for the WM.zip file, I get the error: All files converted Error in gtfs_merge(gtfs_all, force = force_merge) : Duplicated Agency IDs AMN Merging failed, returing unmerged GFTS object for analysis If I then run gtfs_merge, I get: Warning: Duplicated Agency IDs AMN will be mergedDe-duplicating route_id De-duplicating service_id De-duplicating trip_id Condensing duplicated service patterns
If I then run gtfs_write(gtfs,
Am I missing a step? I've been able to run the transxchange2gtfs process with another file from Traveline, so there is an issue with the WM file, but it would appear that the merge process does 'fix' it and then fails on the write?