Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jamespfennell opened this issue May 6, 2020 · 2 comments
Open

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

jamespfennell opened this issue May 6, 2020 · 2 comments
Labels
Milestone

Comments

@jamespfennell
Copy link
Owner

  • Add a new table to store the contents of calendar_dates.txt and frequencies.txt.

  • Will need to create dummy entries in scheduled_service for services that don't appear in calendar.txt.

  • Will need to update service map trip filtering for "weekend", etc.

  • Smoke test using LIRR, which currently doesn't work because of this.

@jamespfennell
Copy link
Owner Author

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
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant