-
Notifications
You must be signed in to change notification settings - Fork 61
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
[REQUEST] Automated marking of inactive / deprecated feed statuses (or embed GTFS timeranges in CSV export?) #653
Comments
Thanks @mil! This is a feature request on our radar and why we've recently added the service window range to the GTFS Schedule Validator summary report: https://gtfs-validator.mobilitydata.org/. We intend to use this information to populate the data in the Mobility Database API and website. |
You can learn more about the Mobility Database API repo here to contribute to it: MobilityData/mobility-feed-api#718 |
Thanks for the additional info @emmambd So now that the service window range is supported in the GTFS Schedule validator summary; will the service window range info additionally eventually be planned to be passed along to the Mobility DB CSV (or only the API / website)? If it helps, I could likely assist with dev effort on implementing the service window range feature in the CSV generation (with a bit of guidance on which path / implementation would be accepted as outlined above or if there is some other ideal implementation?). |
I think this should be covered by new version of CSV / 779 as discussed in other ticket. We can probably close this ticket |
Thanks @mil! The epic for adding the service date ranges is here: MobilityData/mobility-feed-api#865 |
What problem is your feature request trying to solve?
I have an an application that consumes data based on the Mobility Database's catalog and its often reported to me by users of my app that certain feeds are stale (e.g. contain calendar/calendar_dates months / years in the past - and thus unusable for routing / schedules etc.). These feeds are marked in Mobility Database's catalog with a
status
of empty (``) oractive
; but in actuality are inactive or deprecated (containing data from years past).Describe the solution you'd like
CI or a cronjob could run and automatically mark feed the
status
field asinactive
/active
by two approaches:status
toinactive
oractive
OR(2) may actually be preferred because if I understand MobilityData's CI correctly this could already be done just by some simple CI modifications, correct?
Describe alternatives you've considered
The current alternative is to rely on end-users to manually change each feed's status - but that's error-prone & requires a great deal of manual user-intervention & QA.
How will we know when this is done?
As a user, if you see a feed as
active
in the Mobility Database catalogs CSV, you are guaranteed that GTFS feed is active (e.g. in that the download day is within the valid calendar/calendar_dates range provided by the GTFS feed) as of the day of downloading the CSV.OR
As a user, the Mobility Database catalogs CSV could present two new columns for each GTFS feed:
start_date
andend_date
. Optionally in this approach, thestatus
field (inactive
/active
/deprecated
) could be removed all together.The text was updated successfully, but these errors were encountered: