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

IDEA/FEATURE: allow (gtfs2db?) to add and/or delete based on date- (calendar or calendar_date) #84

Open
vingerha opened this issue May 30, 2024 · 0 comments

Comments

@vingerha
Copy link
Contributor

vingerha commented May 30, 2024

Use case: datasources update with a certain frequency, from what I have seen this is anywhere between weekly and annually.
Esp. for the high frequent updates there are cases that the new source is already published before the current data expires and there is no overlap. When performing a nightly automated update one can have a situation where the new datasource can not yet be used as its first data is e.g. tomorrow.
Options (not exhaustive)

  • donot unpack if the new data contains only future dates
  • add new data to current database based on date, i.e. combine sources
  • delete from db based on date, this would also assist in removing past calendar (dates) and trips, etc. with the idea to keep the db small and performing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant