After receiving a research request, use this template to plan and track your work. Be sure to also add the appropriate project-level label to this issue (eg gtfs-rt, DLA).
Epic Information - Migrate over to use gtfs_utils
Summary
Migrate queries related to GTFS schedule to use gtfs_utils in scripts, notebooks. Go through everything and standardize wherever possible.
Research required:
Set up data catalog of dates we have each month, downloaded for HQTA / Traffic Ops -> shared_utils.rt_dates.py
Notes, misc:
Reviewers [Stakeholders]
1.
Issues
[x] 1. #357 - rewrite gtfs_utils so the queries are not unnecessarily large
[x] 2. #358 - hqta downloading data steps
[x] 3. #362 - update rt_utils to rely on gtfs_utils, but with additional steps of checking for cached files, force clear, etc
[x] 4. #352 - update traffic_ops , creation of monthly update to open data portal, sync with hqta dates each month, use gtfs_utils instead of writing fresh queries
[x] 5. #372 - add a function to compile all the cached trips, routelines, stops, stop_times datasets by operator into 1 parquet to use in other projects
[x] 6. #402 - run through rest of open data workflow to push hqta and traffic_ops datasets through
After receiving a research request, use this template to plan and track your work. Be sure to also add the appropriate project-level label to this issue (eg gtfs-rt, DLA).
Epic Information - Migrate over to use
gtfs_utils
Summary
gtfs_utils
in scripts, notebooks. Go through everything and standardize wherever possible.Research required:
shared_utils.rt_dates.py
Notes, misc:
Reviewers [Stakeholders]
1.
Issues
gtfs_utils
so the queries are not unnecessarily largert_utils
to rely ongtfs_utils
, but with additional steps of checking for cached files, force clear, etctraffic_ops
, creation of monthly update to open data portal, sync with hqta dates each month, usegtfs_utils
instead of writing fresh queriestrips
,routelines
,stops
,stop_times
datasets by operator into 1 parquet to use in other projectshqta
andtraffic_ops
datasets throughDeliverables