heliDevine / journeys

0 stars 0 forks source link

process Station information about the Journeys taken #3

Open heliDevine opened 1 year ago

heliDevine commented 1 year ago

Add processJourney method to StationService which calculates -average journey distance taken from that station -shows longest distance taken from that station -shows total number of journeys taken from that station. Investigate which would be the best way of to show most popular station.

Edit: do this with Mongo aggregation pipeline if possible.

heliDevine commented 1 year ago

total distance is now calcualted.