Making a GTFS file from the ATOC Data

path_in = "E:/OneDrive - University of Leeds/UK Trains Timetables/ATOC Data/2019-08-31/ttis381.zip"
path_out = "E:/OneDrive - University of Leeds/UK Trains Timetables/ATOC Data/2019-08-31/"
ncores = 5
silent = FALSE
source("../R/atoc.R")
source("../R/atoc_export.R")
source("../R/atoc_import.R")
source("../R/atoc_main.R")
atoc2gtfs(path_in = path_in, path_out = path_out, silent = silent, ncores = ncores)

Making Shapes

trips = read.csv("D:/Users/earmmor/OneDrive - University of Leeds/Routing/gtfs/trips.txt",, stringsAsFactors = F)
routes = read.csv("D:/Users/earmmor/OneDrive - University of Leeds/Routing/gtfs/routes.txt", stringsAsFactors = F)
stop_times = read.csv("D:/Users/earmmor/OneDrive - University of Leeds/Routing/gtfs/stop_times.txt", stringsAsFactors = F)
#stops = read.csv("D:/Users/earmmor/OneDrive - University of Leeds/Routing/gtfs/stops.txt")
stops = sf::st_read("D:/Users/earmmor/OneDrive - University of Leeds/Routing/osm/stops_fixed.shp")


mem48/UK2GTFS documentation built on Sept. 23, 2019, 6:05 p.m.