Hussein-Mahfouz / drt-potential

3 stars 0 forks source link

Calculate travel time between zone pairs (travel time matrix) #3

Closed Hussein-Mahfouz closed 6 months ago

Hussein-Mahfouz commented 10 months ago

(*) The importance of rail depends on the geographic region (e.g. Leeds or Leeds City Region (LEP) or West Yorskhire)

Hussein-Mahfouz commented 8 months ago

Functions done here f5386cc09a9d9bea1842fa2e84969ae7ffc809ab.

If I want travel distance, then I will need to use the detailed itineraries function. This function doesn't accept gtfs feeds with frequencies.txt files, so I will have to add a preprocessing step to: (a) convert frequency to stop_times (b) remove frequencies.txt

The bods gtfs has both frequencies and stop_times files. It is important that the frequencies_to_stop_times() function does not overwrite any existing stop_times.txt - it should add to it

Hussein-Mahfouz commented 6 months ago

I use gtfstools::frequencies_to_stop_times() here. I've decided not to run the detailed_itineraries function for now . It may be necessary if I adopt the methodology outlined in Option 2 here