Skip to content

Add new contraband graphs. #218

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

Merged
merged 22 commits into from
Oct 25, 2023
Merged

Add new contraband graphs. #218

merged 22 commits into from
Oct 25, 2023

Conversation

Afani97
Copy link
Contributor

@Afani97 Afani97 commented Aug 2, 2023

What's changed:

  • Migrate Contraband tab graphs to use react-charts-2
  • Add Contraband specific api classes to serve data to the graphs

nc/views.py Outdated


class AgencyContrabandGroupedStopPurposeView(APIView):
def create_searches_df(self, _filter, year=None):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copelco This needs your 👀 for an optimization using the materialized view. Takes ~30s to load.

@Afani97 Afani97 changed the title WIP: Add new contraband graphs. Add new contraband graphs. Oct 12, 2023
@Afani97 Afani97 requested a review from copelco October 12, 2023 21:44
@Afani97 Afani97 merged commit 215f274 into develop Oct 25, 2023
@Afani97 Afani97 deleted the CU-863ggrt7p branch October 25, 2023 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant