Closed liamgarrison closed 4 years ago
Fixes #3
https://www.whatdotheyknow.com/request/average_bus_journey_length_in_km
Should we use this data for bus? People could then edit if they wanted.
https://www.whatdotheyknow.com/request/bus_passenger_journey_times this looks even better
That was quick! Fantastic.
On a serious note:
Is the team comfortable storing another apps ‘AppId’ in the source code?
There might be some useful data in the APIs that might offer metrics for estimation, distance between places perhaps? Actually thinking about it, I’d expect duration, as @martincollignon suggests, might be better for an estimation.
https://api.tfl.gov.uk/swagger/ui/index.html
I’m on mobile atm so can’t really dig around much
@willtonkin isn't it publicly available?
https://www.whatdotheyknow.com/request/bus_passenger_journey_times this looks even better
This looks good for an average bus journey duration. Seems like ~3140 is what we should put into the model, but it's annoying it doesn't give a unit... I'm guessing it is in seconds? So that gives 52 mins?
Also, how far back do you want this to pull data for? It's currently set to past two weeks...
https://www.whatdotheyknow.com/request/bus_passenger_journey_times this looks even better
This looks good for an average bus journey duration. Seems like ~3140 is what we should put into the model, but it's annoying it doesn't give a unit... I'm guessing it is in seconds? So that gives 52 mins?
I would think this is in meters - which is even better!
I think we'd like the data to go back as far as possible, depending on how long it takes to pull that data. Our other integrations only fetch the most recent ones afterward.
Ok, i've added the average bus journey distance, and have got it fetching 56 days of data (max allowed)
Sorry guys, realised that i was committing to master on my forked repository, will create a new MR from a feature branch.
Work in progress.
This currently works for my Oyster account details, and results in the following activities:
Need to figure out how to calculate start and end point, or distance, for Bus journeys