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

New feature to allow end users to export 311 requests data to CSV using Map filters directly from the Map page #1586

Closed
2 of 3 tasks
edwinjue opened this issue Sep 20, 2023 · 1 comment · Fixed by #1612
Closed
2 of 3 tasks
Assignees
Milestone

Comments

@edwinjue
Copy link
Member

edwinjue commented Sep 20, 2023

Overview

Allow end users to generate extracts of 311 requests data directly from the Map page. An end user should be able to apply any combination of filters on the map and be able to download this subset of data in CSV format. This feature would allow the end user to generate extracts similar to the one requested in #1566.

Action Items

  • Create a temporary button on the Map page. (This button can be placed anywhere on the Map page for the time being. Volunteer will collaborate with UI/UX team to determine the finalize placement of button/link later. For now, volunteer will focus primarily on the export functionality).
  • When this button gets clicked, it should trigger a custom DuckDb SQL query to return a subset of the request data in CSV format according to the filters selected in the Filter menu (on the left-hand side of the map)
  • Successful execution of this query will initiate a file download whereas an error condition will display an error toast on the bottom right-hand side of the Map

Resources/Instructions

Example request
Example DuckDb queries used in 1566
How to export data in DuckDb
What is a toast?

@edwinjue edwinjue added Role: Frontend React front end work Size: 8pt Can be done in 31-48 hours Milestone: Missing Tech Stack: New labels Sep 20, 2023
@MBasil03 MBasil03 added the p-feature: Dashboard Dashboard page including info boxes and charts label Sep 21, 2023
@edwinjue edwinjue added P-feature: Reports P-feature: Map and removed p-feature: Dashboard Dashboard page including info boxes and charts labels Sep 21, 2023
@ryanfchase ryanfchase added this to the 0.07 H123 Map Page milestone Sep 21, 2023
@sophia-bui sophia-bui self-assigned this Sep 21, 2023
@sophia-bui
Copy link
Member

Update for 9/27 meeting:
Created temporary export button.
Currently working on functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done (without merge)
Development

Successfully merging a pull request may close this issue.

4 participants