Skip to content
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

Sept 2024 NTD Ridership Publich #1287

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,017 changes: 382 additions & 635 deletions ntd/explore_new_dim_monthly_ridership.ipynb

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion ntd/ntd_dates.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,7 @@ def get_public_filename(monthyear_string: str) -> str:
"apr2024": "2024-06",
"may2024": "2024-07",
"jun2024": "2024-08",
"jul2024": "2024-09"
"jul2024": "2024-09",
"aug2024": "2024-08",
"sep2024": "2024-09"
}
4 changes: 2 additions & 2 deletions ntd/update_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

GCS_FILE_PATH = "gs://calitp-analytics-data/data-analyses/ntd/"

current_month = "jul2024"
current_month = "sep2024"
YEAR, MONTH = ntd_dates.parse_monthyear_string(current_month)
PUBLIC_FILENAME = ntd_dates.get_public_filename(current_month)
MONTH_CREATED = ntd_dates.DATES[current_month]

# Check this url each month
# https://www.transit.dot.gov/ntd/data-product/monthly-module-adjusted-data-release
# Depending on if they fixed the Excel, there may be an additional suffix
suffix = "_240903"
suffix = "_241101"
FULL_URL = (
"https://www.transit.dot.gov/sites/fta.dot.gov/files/"
f"{MONTH_CREATED}/{MONTH}%20{YEAR}%20"
Expand Down
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Loading