jamespfennell / transiter

Web service for transit data
https://demo.transiter.dev
MIT License
62 stars 7 forks source link

[GTFS Full Support] Add support for calendar dates #59

Open jamespfennell opened 4 years ago

jamespfennell commented 4 years ago
jamespfennell commented 4 years ago

For service maps, the algorithm probably should be:

  1. In the service object, if any of the days are true, then use those days as truth and continue.

  2. Otherwise, essentially calculate a histogram of days coming from calendar_dates.txt. Days appearing more than 10% of the time (say) count as true days. Should validate this with the LIRR.

jamespfennell commented 4 years ago

Data persistence has been done, need to update service map logic before closing out.