Skip to content

Commit

Permalink
updated ntd_dates, update_vars. also adjust crosswalk in gcs to inclu…
Browse files Browse the repository at this point in the history
…de Clovis and Santa Barbara. ran script and all notebooks parameterized
  • Loading branch information
csuyat-dot committed Nov 12, 2024
1 parent ec8fb58 commit f055a00
Show file tree
Hide file tree
Showing 29 changed files with 439 additions and 690 deletions.
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

0 comments on commit f055a00

Please sign in to comment.