One row per MTA station complex. The complex is the unit of
aggregation used in the ridership data published by the MTA
(notably nycsubwayhourly and nycsubwayodr), and may aggregate
multiple GTFS parent stops (for instance, Times Sq–42 St
aggregates five parent stops across the IRT, BMT, and IND lines).
Format
nyc_subway_complexes_df
A tibble with one row per complex:
- station_complex_id
MTA complex identifier as used in
nycsubwayhourlyandnycsubwayodr.- station_complex_name
Canonical human-readable complex name.
- borough
Borough containing the complex.
- n_stops
Number of GTFS parent stops belonging to the complex.
Details
Subway-only. Staten Island Railway and Roosevelt Island Tramway
complexes that appear in nycsubwayhourly are intentionally not
included here because the underlying GTFS feed used by nycroutes
is the subway feed (gtfs_subway.zip).
Complex membership is reconstructed from the GTFS feed because the
MTA's subway GTFS feed used by this package does not include
station_complexes.txt. Each parent station is assigned to the
nearest centroid in nycsubwayhourly's station-complex centroid
table, with a 1500 ft cutoff (in EPSG:2263) to exclude SIR parents
that would otherwise snap to mainland subway centroids.