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

create batch of csvs per rpta for ntd ridership #979

Merged
merged 5 commits into from
Dec 22, 2023
Merged

Conversation

tiffanychu90
Copy link
Member

@tiffanychu90 tiffanychu90 commented Dec 22, 2023

  • Script to merge NTD monthly ridership Excel file (UPT sheet) to RTPA crosswalk
    • Crosswalk for NTD ID to RTPA is in GCS bucket - using this from open data portal
  • Write each RTPA csv out individually, save zipped file out in GCS
  • Notebook is parameterized and hosted in our portfolio as ntd_monthly_ridership, with basic trends by agency, mode, and type of service over time and change against prior year
    • any future work on this should warrant larger discussion of how heavily we want to clean NTD data
    • NTD data here looks exactly like the raw NTD, but if we want to make further use, we definitely want to clean up column names, do some additional wrangling (here, wide to long) is needed + adding new columns for change against prior year
    • more wrangling needed if we're making charts, values like 1/2023 and 10/2023 are not suitable for displaying because they aren't ordered the way we want
  • Research Task - NTD UPT by RTPA #978

@tiffanychu90 tiffanychu90 linked an issue Dec 22, 2023 that may be closed by this pull request
Copy link

nbviewer URLs for impacted notebooks:

@tiffanychu90 tiffanychu90 merged commit ff8582f into main Dec 22, 2023
2 checks passed
@tiffanychu90 tiffanychu90 deleted the ntd-rtpa branch December 22, 2023 21:40
Copy link

nbviewer URLs for impacted notebooks:

@tiffanychu90 tiffanychu90 added the portfolio work Work related to the analytics portfolio label Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
portfolio work Work related to the analytics portfolio
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Research Task - NTD UPT by RTPA
1 participant