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

Gl speed pt 1 #733

Merged
merged 4 commits into from
Jul 10, 2023
Merged

Gl speed pt 1 #733

merged 4 commits into from
Jul 10, 2023

Conversation

PatrickCleary
Copy link
Member

@PatrickCleary PatrickCleary commented Jul 10, 2023

Motivation

Add new API for new speed database. This set up allows us to get GL speeds and has other benefits over previous.

Changes

Should be no changes to the dashboard, just a new API.

Adds new API /tripmetrics which returns similar data to the speeds api but uses more robust calculations. Details in data-ingestion repo: transitmatters/data-ingestion#30

Testing Instructions

Test the API:
http://localhost:3000/api/tripmetrics/?start_date=2020-01-01&end_date=2022-01-01&agg=weekly&line=line-red

@PatrickCleary PatrickCleary added this to the Dashboard V4 milestone Jul 10, 2023
@PatrickCleary PatrickCleary self-assigned this Jul 10, 2023
@github-actions github-actions bot added backend Change to backend code frontend Change to frontend code labels Jul 10, 2023
@PatrickCleary PatrickCleary marked this pull request as ready for review July 10, 2023 14:48
@PatrickCleary PatrickCleary merged commit 27ee572 into dashboard-v4 Jul 10, 2023
5 checks passed
@PatrickCleary PatrickCleary deleted the gl-speed-pt-1 branch July 10, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Change to backend code frontend Change to frontend code
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants