What is GTFS, anyway?#
Lots of information in the warehouse comes from the General Transit Feed Specification, or GTFS.
Video Introduction#
Start by watching this amazing video that Laurie made!#
Video Notes#
Laurie mentions downloading an example feed to look at the files. This is a great idea! But when working with our data warehouse remember that you don’t have to interact with raw GTFS feeds directly (lots of important work has been done for you!). Still, we recommend taking a look at an example feed to understand what it looks like. Here’s one from Big Blue Bus.
We don’t really use Partridge, but here’s a link to their repo in case you want to see where that handy diagram came from. Notice how trips are central to a GTFS feed.
Ignore references to
calitp_url_number
,calitp_extracted_at
, orcalitp_deleted_at
. These refer to an older version of our warehouse. Today, we tell feeds apart with keys such asgtfs_dataset_key
andfeed_key
. Learn about our current data warehouse here.A “route” is a somewhat ambiguous concept! Transit providers have a lot of flexibility in branding their services. The same route can, and often does, have some trips following one path and some trips following another. GTFS has another concept of a “shape” which describes a path through physical space that one or more trips can follow.
Further GTFS Resources#
Slides from the video