|
|
|
|
|
by zimpenfish
2572 days ago
|
|
Needs a discussion of the methodology of calculation. The distances I'm getting from the downloaded "bus-sequences.csv" (from TfL's API site) differ substantially; e.g my 53 has averages of 317m and 357m vs his 201m and 219m. Additionally, my numbers match up with those of 'superqwert from https://news.ycombinator.com/item?id=20029476 for the 389 and 631 routes. (I measured a bunch of stops of the 78 route with GPS earlier this week. My calculations correlated closely with the real* distances when the looseness of GPS from downstairs on a bus is taken into account.) |
|
min: 11.176937891670061
lq: 69.77607205565486
med: 147.79705350080133
avg: 219.3995096050874
uq: 291.84606245281907
max: 1121.239174918762
I wonder where you got your csv data from exactly? I found a csv (https://tfl.gov.uk/cdn/static/cms/documents/stop-sequences-e...) that is labelled "The example feeds below are not updated and for demonstration purposes only".
For my query I called the route sequence API directly:
https://api.tfl.gov.uk/line/53/Route/Sequence/inbound