-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor ridership fixes #3378
Minor ridership fixes #3378
Conversation
Warehouse report 📦 DAGLegend (in order of precedence)
|
Looks great so far! Just to clarify, I did mention in #3373 that I wanted "active" vs "inactive" in the annual report, but it looks like this is something only found in the monthly report and according to the docs in the monthly report, this is only indicating whether the particular ridership row is active as of the most recent reporting year. So I don't think we need to do any filtering on that "active" vs "inactive" status after all. However, can we also have the monthly ridership table also have the new |
…month column to make reporting by date easier
…o make analysis easier on the different modes
7b13a64
to
892d3d9
Compare
In the monthly ridership table there are three modes I don't know what they stand for: |
…odes to service_type
AG is Automated Guideway, MO is for monorail, OR i still don't know but total ridership is nearly 0. I was having a weird git crisis of confidence. |
Description
Enhances NTD ridership tables to make it easier to use for analysts
Fixes #3371 and #3373
My notes on the different modes:
https://www.transit.dot.gov/ntd/ntd-data-products-frequently-asked-questions#Fixed%20Route
https://www.transit.dot.gov/ntd/national-transit-database-ntd-glossary
Motor Bus (MB), Commuter Bus (CB), Bus Rapid Transit (RB), Jitney (JT), and Publico (PB). All Rail modes and Ferry Boat (FB) are also considered fixed route services.
Rail Modes
Transit modes whose vehicles travel along fixed rails - bars of rolled steel - forming a track. The vehicles are usually electrically propelled typically through motors onboard the vehicles, but motors may also be at a central location not onboard the vehicles to pull the vehicles by cables (cable car (CC), inclined plane (IP)). For commuter rail (CR), vehicles may be self-propelled or may be drawn by a locomotive. NTD recognizes nine rail modes:
• Alaska Railroad (AR);
• Cable car (CC);
• Commuter rail (CR);
• Heavy rail (HR);
• Hybrid rail (YR);
• Inclined plane (IP);
• Light rail (LR);
• Monorail/Automated guideway transit (MG); and
• Streetcar (SR)
Can be found in: Introduction, F-20, A-10, A-20, S-10, S-20, R-30, S&S-40
Non-Rail Modes
Transit modes whose vehicles typically operate on roadways - streets, highways or expressways, but may also operate on waterways (ferryboat (FB)) or via aerial cable (aerial tramways (TR)). Vehicles are typically powered by motors onboard the vehicle, with one exception, aerial tramway (TR) vehicles which are electrically powered by a motor not onboard the vehicle in order to pull the vehicle via an overhead cable. NTD recognizes eight non-rail modes:
Can be found in: Introduction, F-20, A-10, A-20, S-10, R-10, R-30, S&S-40
Non-Scheduled Services
Services provided on demand, rather than with predetermined fixed time points, i.e., a schedule. Nonscheduled services are:
• Demand response (DR);
• Demand response taxi (DT);
• Vanpool (VP);
• Jitney (JT); and
• Publico (PB) services.
Can be found in: A-10, S-10
Jitney (JT)
A transit mode comprised of passenger cars or vans operating on fixed routes (sometimes with minor deviations) as demand warrants without fixed schedules or fixed stops.
Ferryboat (FB) (mode)
A transit mode comprised of vessels carrying passengers over a body of water. Intercity ferryboat (FB) service is excluded, except for that portion of such service that is operated by or under contract with a public transit agency for predominantly commuter services. Predominantly commuter service means that for any given trip segment (i.e., distance between any two piers), more than 50 percent of the average daily ridership travels on the ferryboat on the same day.
Ferryboats (FB) (vehicle type)
Vehicle type: Vessels for carrying passengers and / or vehicles over a body of water. The vessels are generally steam or diesel powered conventional ferry vessels. They may also be hovercraft, hydrofoil and other high-speed vessels. Can be found in: A-30, S&S-40
Inclined Plane (IP) (mode)
A transit mode that is a railway operating over exclusive right-of-way (ROW) on steep grades (slopes) with powerless vehicles propelled by moving cables attached to the vehicles and powered by engines or motors at a central location not onboard the vehicle. The special tramway types of vehicles have passenger seats that remain horizontal while the undercarriage (truck) is angled parallel to the slope.
Type of change
How has this been tested?
poetry run dbt run -s +dim_monthly_ntd_ridership_with_adjustments --full-refresh
poetry run dbt run -s dim_annual_ntd_agency_service --full-refresh
Post-merge follow-ups