Skip to content

Commit

Permalink
EAT: Add revenue field to TripDescriptor (#436)
Browse files Browse the repository at this point in the history
Ingest `revenue` field on GTFS-RT TripDescriptor. Should be limited to a bool or NULL.
  • Loading branch information
rymarczy authored Sep 5, 2024
1 parent a6f817f commit 6e63d2a
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lamp_py/ingestion/gtfs_rt_structs.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
("tm_trip_id", pyarrow.string()), # Only used by Busloc
("overload_id", pyarrow.int64()), # Only used by Busloc
("overload_offset", pyarrow.int64()), # Only used by Busloc
("revenue", pyarrow.bool_()),
]
)

Expand Down
Binary file modified tests/test_files/ingestion_BUSLOC_TU.parquet
Binary file not shown.
Binary file modified tests/test_files/ingestion_BUSLOC_VP.parquet
Binary file not shown.
Binary file modified tests/test_files/ingestion_GTFS-RT_TU.parquet
Binary file not shown.
Binary file modified tests/test_files/ingestion_GTFS-RT_TU_OLD.parquet
Binary file not shown.
Binary file modified tests/test_files/ingestion_GTFS-RT_VP.parquet
Binary file not shown.
Binary file modified tests/test_files/ingestion_GTFS-RT_VP_OLD.parquet
Binary file not shown.

0 comments on commit 6e63d2a

Please sign in to comment.