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

Refactor: Quarterly performance metrics report #1151

Merged
merged 10 commits into from
Jun 21, 2024

Conversation

tiffanychu90
Copy link
Member

@tiffanychu90 tiffanychu90 commented Jun 21, 2024

quarterly performance metrics report

  • Quarterly metrics used to pull 1 date per quarter. Now, let's just use monthly tables and average across 3 dates per quarter, as many as are available. Rerun for all the dates we have for v2.
  • Add script to compile time-series data.
  • Use script to transform data suitable for great_tables and nanoplots, specifically, which need columns with a list of values.
  • Update report to be 1 report (.qmd!) and see if we can show the current quarter's values + some historical values in one great table. Render it as html.
    • Previously used altair charts, and there were a lot of them. Now, do most of the set up with the categories we want, add some rows for subtotals, and throw it into 1 table and see if it conveys the same amount of information.
    • Add district breakdown and also operator breakdown
  • Update README to point to new references for cleaning scripts
  • Update shared_utils/requirements.txt and add quarto, great_tables, polars for using quarto markdowns.
  • Remove old scripts, old reports
  • Research Request - Consolidate bus_service_utils and segment_speed_utils and refactor quarterly_performance_metrics #1129

1 similar comment
@tiffanychu90 tiffanychu90 merged commit 3e41c48 into main Jun 21, 2024
4 checks passed
@tiffanychu90 tiffanychu90 deleted the quarterly-performance-metrics-report branch June 21, 2024 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant