Skip to content

Commit 328e5c8

Browse files
author
open-bus-pipelines-ci
committed
automatic update of the etl processes documentation
1 parent 88e36a5 commit 328e5c8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

STRIDE_ETL_PROCESSES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ snapshots which don't exist in DB siri_snapshots table are added with status pen
4949
Runs daily, iterates over siri_snapshots which have status pending and older then 24 hours,
5050
runs processing for those snapshots to update their data in DB.
5151

52+
## [stride-etl-siri-add-ride-durations](https://www.github.com/hasadna/open-bus-stride-etl/tree/main/open_bus_stride_etl/siri)
53+
54+
Runs hourly, finds the first and last vehicle location of each ride and
55+
updates the following fields in DB: [siri_ride.duration_minutes](https://github.com/hasadna/open-bus-stride-db/blob/main/DATA_MODEL.md#siri_rideduration_minutes),
56+
[siri_ride.first_vehicle_location_id](https://github.com/hasadna/open-bus-stride-db/blob/main/DATA_MODEL.md#siri_ridefirst_vehicle_location_id), [siri_ride.last_vehicle_location_id](https://github.com/hasadna/open-bus-stride-db/blob/main/DATA_MODEL.md#siri_ridelast_vehicle_location_id).
57+
5258
## [stride-etl-siri-update-ride-stops-gtfs](https://www.github.com/hasadna/open-bus-stride-etl/tree/main/open_bus_stride_etl/siri)
5359

5460
Runs hourly, tries to match SIRI stops with GTFS stops and updates the following field in DB: [siri_ride_stop.gtfs_stop_id](https://github.com/hasadna/open-bus-stride-db/blob/main/DATA_MODEL.md#siri_ride_stopgtfs_stop_id).

0 commit comments

Comments
 (0)