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

spod_quick_get_od fails sometimes because fresh CSVs are not always pre-aggregated in the GraphQL api #123

Closed
e-kotov opened this issue Jan 3, 2025 · 0 comments · Fixed by #125
Assignees
Labels
bug Something isn't working

Comments

@e-kotov
Copy link
Member

e-kotov commented Jan 3, 2025

spod_quick_get_od(date = "2024-12-17")
Error in `.data$origin_muni`:
! Column `origin_muni` not found in `.data`.

Because this data does not exist yet on the platform
Screenshot 2025-01-03 at 12 50 46.

Currently, the available dates are checked against the available CSV files with raw data. Should replace this with a more robust available data check, and a more graceful fail when unavailable date is selected.

@e-kotov e-kotov self-assigned this Jan 3, 2025
@e-kotov e-kotov added the bug Something isn't working label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant